Can not connect to internationalized domains with SRV specified host.
This info has proven useful other times:
No libasyncns-python.
gajim Revision: 10980
python --version => Python 2.6.1
OR
python --version => Python 2.5.2
LC_CTYPE=sv_SE.utf8
dig -v => DiG 9.6.0-P1
dig +short srv _xmpp-client._tcp.gazonk.cdr.se => 5 0 5225 jabber.cdr.se.
dig +short srv _xmpp-client._tcp.råkat.se => 5 0 5225 jabber.cdr.se.
dig +short a jabber.cdr.se => 83.227.33.110
dig +short a råkat.se => 127.0.0.1
(dig is in the same package as nslookup and same version)
Excerpt from launch -l gajim=DEBUG:
2009-01-14 15:22:55,680 gajim.c.x.idlequeue: INFO: check time evs
2009-01-14 15:22:56,815 gajim.c.x.idlequeue: INFO: read timeout set for fd 7 on 10 seconds
2009-01-14 15:22:56,844 gajim.c.x.idlequeue: INFO: read timeout removed for fd 7
2009-01-14 15:22:56,844 gajim.c.x.idlequeue: INFO: read timeout removed for fd 7
2009-01-14 15:22:56,845 gajim.c.connection: DEBUG: Connection to next host
2009-01-14 15:22:56,846 gajim.c.connection: INFO: >>>>>> Connecting to gazonk.cdr.se [jabber.cdr.se:5225], type = tls
It works for gazonk.cdr.se
Another excerpt:
2009-01-14 15:24:16,505 gajim.c.x.idlequeue: INFO: read timeout set for fd 7 on 10 seconds
2009-01-14 15:24:16,534 gajim.c.x.idlequeue: INFO: read timeout removed for fd 7
2009-01-14 15:24:16,534 gajim.c.x.idlequeue: INFO: read timeout removed for fd 7
2009-01-14 15:24:16,535 gajim.c.connection: DEBUG: Connection to next host
2009-01-14 15:24:16,536 gajim.c.connection: INFO: >>>>>> Connecting to råkat.se [råkat.se:5222], type = tls
Tries to connect to wrong host. It tries råkat.se:5222 when SRV info says jabber.cdr.se:5225. Fail. Log shows nothing about how it got to the conclusion that råkat.se was the right host for the råkat.se domain. Connection works if I specify host and port manually.