[jitsi-users] jitsi dns problem


#1

i made a test where i started jitsi with empty config dir and then gave
jh@openxg.com to SIP config box and clicked "sign in".

jitsi made a single dns query and reported to console:

08:37:29.992 SEVERE: [15] impl.protocol.sip.SipLogger.logError().122 Error from the JAIN-SIP stack: Invalid argument address = ::0 port = 5060 transport = UDP
08:37:30.419 SEVERE: [15] impl.protocol.sip.ProtocolProviderServiceSipImpl.registerUsingNextAddress().2502 Cannot send register!
java.lang.ArrayIndexOutOfBoundsException: 4
  at net.java.sip.communicator.util.NetworkUtils$1.compare(NetworkUtils.java:722)
  at net.java.sip.communicator.util.NetworkUtils$1.compare(NetworkUtils.java:707)
  at java.util.Arrays.mergeSort(Arrays.java:1283)
  at java.util.Arrays.sort(Arrays.java:1223)
  at net.java.sip.communicator.util.NetworkUtils.getNAPTRRecords(NetworkUtils.java:706)
  at net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection$LocalNetworkUtils.getNAPTRRecords(AutoProxyConnection.java:61)
  at net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressInternal(AutoProxyConnection.java:212)
  at net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressFromDns(AutoProxyConnection.java:163)
  at net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressInternal(AutoProxyConnection.java:187)
  at net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressFromDns(AutoProxyConnection.java:163)
  at net.java.sip.communicator.impl.protocol.sip.net.ProxyConnection.getNextAddress(ProxyConnection.java:113)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.registerUsingNextAddress(ProtocolProviderServiceSipImpl.java:2482)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:308)
  at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
08:37:32.461 SEVERE: [15] impl.protocol.sip.ProtocolProviderServiceSipImpl.register().310 No address found for ProtocolProviderServiceSipImpl(jh@openxg.com (SIP))

the query and response were:

No. Time Source Destination Protocol Leng
th Info
      1 0.000000000 127.0.0.1 127.0.0.1 DNS 72
   Standard query 0x909f NAPTR openxg.com

Frame 1: 72 bytes on wire (576 bits), 72 bytes captured (576 bits) on interface
0
Linux cooked capture
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0
.1)
User Datagram Protocol, Src Port: 50299 (50299), Dst Port: domain (53)
Domain Name System (query)
    [Response In: 2]
    Transaction ID: 0x909f
    Flags: 0x0100 Standard query
    Questions: 1
    Answer RRs: 0
    Authority RRs: 0
    Additional RRs: 0
    Queries
        openxg.com: type NAPTR, class IN
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)

No. Time Source Destination Protocol Leng
th Info
      2 0.001535000 127.0.0.1 127.0.0.1 DNS 221
   Standard query response 0x909f NAPTR 10 10 s NAPTR 10 10 s NAPTR 10 10 s

Frame 2: 221 bytes on wire (1768 bits), 221 bytes captured (1768 bits) on interf
ace 0
Linux cooked capture
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0
.1)
User Datagram Protocol, Src Port: domain (53), Dst Port: 50299 (50299)
Domain Name System (response)
    [Request In: 1]
    [Time: 0.001535000 seconds]
    Transaction ID: 0x909f
    Flags: 0x8180 Standard query response, No error
    Questions: 1
    Answer RRs: 3
    Authority RRs: 0
    Additional RRs: 0
    Queries
        openxg.com: type NAPTR, class IN
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
    Answers
        openxg.com: type NAPTR, class IN, order 10, preference 10, flags s
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
            Time to live: 55 minutes, 20 seconds
            Data length: 37
            Order: 10
            Preference: 10
            Flags length: 1
            Flags: "s"
            Service length: 7
            Service: "SIP+D2U"
            Regex length: 0
            Regex: ""
            Replacement length: 22
            Replacement: _sip._udp.openxg.com
        openxg.com: type NAPTR, class IN, order 10, preference 10, flags s
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
            Time to live: 55 minutes, 20 seconds
            Data length: 39
            Order: 10
            Preference: 10
            Flags length: 1
            Flags: "s"
            Service length: 8
            Service: "SIPS+D2T"
            Regex length: 0
            Regex: ""
            Replacement length: 23
            Replacement: _sips._tcp.openxg.com
        openxg.com: type NAPTR, class IN, order 10, preference 10, flags s
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
            Time to live: 55 minutes, 20 seconds
            Data length: 37
            Order: 10
            Preference: 10
            Flags length: 1
            Flags: "s"
            Service length: 7
            Service: "SIP+D2T"
            Regex length: 0
            Regex: ""
            Replacement length: 22
            Replacement: _sip._tcp.openxg.com

why didn't jitsi make srv queries in order to figure out my proxy? why
did jitsi claim that it didn't find address of my proxy?

-- juha


#2

Simple question. How can I remove Jitsi as there doesn't seem to be an option for the removal when installed with a DEB. I mistakenly installed the 32-bit version instead of the 64-bit version. It works without problem, but I would prefer to have the 64-bit version.

Mike
.


#3

Hey Juha,

That's what should have happened and that's what does happen when I try it
locally.

Unfortunately the error you provide is not related and not enough for is to
determine exactly what is happening.

Could you please send us the entire log zip?

Thanks,
Emil

--sent from my mobile

···

On Mar 26, 2013 7:07 AM, "Juha Heinanen" <jh@tutpro.com> wrote:

i made a test where i started jitsi with empty config dir and then gave
jh@openxg.com to SIP config box and clicked "sign in".

jitsi made a single dns query and reported to console:

08:37:29.992 SEVERE: [15] impl.protocol.sip.SipLogger.logError().122 Error
from the JAIN-SIP stack: Invalid argument address = ::0 port = 5060
transport = UDP
08:37:30.419 SEVERE: [15]
impl.protocol.sip.ProtocolProviderServiceSipImpl.registerUsingNextAddress().2502
Cannot send register!
java.lang.ArrayIndexOutOfBoundsException: 4
        at
net.java.sip.communicator.util.NetworkUtils$1.compare(NetworkUtils.java:722)
        at
net.java.sip.communicator.util.NetworkUtils$1.compare(NetworkUtils.java:707)
        at java.util.Arrays.mergeSort(Arrays.java:1283)
        at java.util.Arrays.sort(Arrays.java:1223)
        at
net.java.sip.communicator.util.NetworkUtils.getNAPTRRecords(NetworkUtils.java:706)
        at
net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection$LocalNetworkUtils.getNAPTRRecords(AutoProxyConnection.java:61)
        at
net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressInternal(AutoProxyConnection.java:212)
        at
net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressFromDns(AutoProxyConnection.java:163)
        at
net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressInternal(AutoProxyConnection.java:187)
        at
net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection.getNextAddressFromDns(AutoProxyConnection.java:163)
        at
net.java.sip.communicator.impl.protocol.sip.net.ProxyConnection.getNextAddress(ProxyConnection.java:113)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.registerUsingNextAddress(ProtocolProviderServiceSipImpl.java:2482)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:308)
        at
net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
08:37:32.461 SEVERE: [15]
impl.protocol.sip.ProtocolProviderServiceSipImpl.register().310 No address
found for ProtocolProviderServiceSipImpl(jh@openxg.com (SIP))

the query and response were:

No. Time Source Destination
Protocol Leng
th Info
      1 0.000000000 127.0.0.1 127.0.0.1 DNS
72
   Standard query 0x909f NAPTR openxg.com

Frame 1: 72 bytes on wire (576 bits), 72 bytes captured (576 bits) on
interface
0
Linux cooked capture
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0
.1)
User Datagram Protocol, Src Port: 50299 (50299), Dst Port: domain (53)
Domain Name System (query)
    [Response In: 2]
    Transaction ID: 0x909f
    Flags: 0x0100 Standard query
    Questions: 1
    Answer RRs: 0
    Authority RRs: 0
    Additional RRs: 0
    Queries
        openxg.com: type NAPTR, class IN
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)

No. Time Source Destination
Protocol Leng
th Info
      2 0.001535000 127.0.0.1 127.0.0.1 DNS
221
   Standard query response 0x909f NAPTR 10 10 s NAPTR 10 10 s NAPTR 10 10
s

Frame 2: 221 bytes on wire (1768 bits), 221 bytes captured (1768 bits) on
interf
ace 0
Linux cooked capture
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0
.1)
User Datagram Protocol, Src Port: domain (53), Dst Port: 50299 (50299)
Domain Name System (response)
    [Request In: 1]
    [Time: 0.001535000 seconds]
    Transaction ID: 0x909f
    Flags: 0x8180 Standard query response, No error
    Questions: 1
    Answer RRs: 3
    Authority RRs: 0
    Additional RRs: 0
    Queries
        openxg.com: type NAPTR, class IN
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
    Answers
        openxg.com: type NAPTR, class IN, order 10, preference 10, flags s
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
            Time to live: 55 minutes, 20 seconds
            Data length: 37
            Order: 10
            Preference: 10
            Flags length: 1
            Flags: "s"
            Service length: 7
            Service: "SIP+D2U"
            Regex length: 0
            Regex: ""
            Replacement length: 22
            Replacement: _sip._udp.openxg.com
        openxg.com: type NAPTR, class IN, order 10, preference 10, flags s
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
            Time to live: 55 minutes, 20 seconds
            Data length: 39
            Order: 10
            Preference: 10
            Flags length: 1
            Flags: "s"
            Service length: 8
            Service: "SIPS+D2T"
            Regex length: 0
            Regex: ""
            Replacement length: 23
            Replacement: _sips._tcp.openxg.com
        openxg.com: type NAPTR, class IN, order 10, preference 10, flags s
            Name: openxg.com
            Type: NAPTR (Naming authority pointer)
            Class: IN (0x0001)
            Time to live: 55 minutes, 20 seconds
            Data length: 37
            Order: 10
            Preference: 10
            Flags length: 1
            Flags: "s"
            Service length: 7
            Service: "SIP+D2T"
            Regex length: 0
            Regex: ""
            Replacement length: 22
            Replacement: _sip._tcp.openxg.com

why didn't jitsi make srv queries in order to figure out my proxy? why
did jitsi claim that it didn't find address of my proxy?

-- juha


#4

jh@openxg.com to SIP config box and clicked "sign in".

jitsi made a single dns query and reported to console:

08:37:29.992 SEVERE: [15] impl.protocol.sip.SipLogger.logError().122
Error from the JAIN-SIP stack: Invalid argument address = ::0 port =
5060 transport = UDP 08:37:30.419 SEVERE: [15]
impl.protocol.sip.ProtocolProviderServiceSipImpl.registerUsingNextAddress
().2 502 Cannot send register! java.lang.ArrayIndexOutOfBoundsException:
4 at
net.java.sip.communicator.util.NetworkUtils$1.compare(NetworkUtils.java:7
22) at

This is now fixed in r10741 and is available in the next build.

Regards,
Ingo


#5

On Debian, as well as on any other system that uses deb packages, uninstallation is done like this:
sudo dpkg -r package_name

or usint apt-get:
apt-get remove package_name

Pavel Tankov
ptankov bluejimp com

···

On 27.март.2013, at 11:30, Michael L. Wilson wrote:

Simple question. How can I remove Jitsi as there doesn't seem to be an option for the removal when installed with a DEB. I mistakenly installed the 32-bit version instead of the 64-bit version. It works without problem, but I would prefer to have the 64-bit version.

Mike


#6

Emil Ivov writes:

Unfortunately the error you provide is not related and not enough for is to
determine exactly what is happening.

Could you please send us the entire log zip?

.jitsi/log/jitsi0.log.0 is enclosed.

-- juha

jitsi0.log.0 (24.9 KB)