Hello!
I'm using jabberd2-2.2.14. I've got strange problem, i can't talk to
anyone because my jabberd2 server can't connect to other servers. On my
roster contacts has information "remote-server-not-found". My resolver
seems to work correctly (also i tried to use google dns: 8.8.8.8).
I can resolve srv records from cli using "host". For example:
$ host -t srv _xmpp-server._tcp.google.com
_xmpp-server._tcp.google.com has SRV record 20 0 5269
xmpp-server2.l.google.com.
[... snip other records]

In s2s.log i'm getting:
Wed Jul 13 13:28:30 2011 [notice] dns lookup for gmail.com timed out
Wed Jul 13 13:30:31 2011 [notice] dns lookup for marcel.pl timed out
Wed Jul 13 13:32:32 2011 [notice] dns lookup for marcel.pl timed out
Wed Jul 13 13:33:32 2011 [notice] dns lookup for gmail.com timed out

So i've compiled jabberd2 with debug and started s2s with -D parameter.
<click in gajim information about user>
Wed Jul 13 13:39:25 2011 router.c:296 read action on fd 6
sx (io.c:191) 6 ready for reading
sx (io.c:197) tag 6 event 2 data 0xeb63c3b0
Wed Jul 13 13:39:25 2011 router.c:44 reading from 6
Wed Jul 13 13:39:25 2011 router.c:69 read 242 bytes
sx (io.c:216) passed 242 read bytes
sx (chain.c:93) calling io read chain
sx (io.c:240) decoded read data (242 bytes): <route
xmlns='http://jabbertakd.jabberstudio.org/ns/component/1.0'
to='gmail.com' from='mejor.pl'><iq xmlns='jabber:client'
to='xxxxxxxxxx...@gmail.com' type='get' id='524'
from='yyy...@mejor.pl/Gajim_'><query xmlns='jabber:iq:last'/></iq></route>
sx (io.c:92) completed nad: <route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='mejor.pl'
to='gmail.com'><iq xmlns='jabber:client' from='yyyyy...@mejor.pl/Gajim_'
id='524' type='get' to='xxxxxxxxxxx...@gmail.com'><query
xmlns='jabber:iq:last'/></iq></route>
sx (chain.c:119) calling nad read chain
sx (io.c:156) tag 6 event 6 data 0xeb63b4c0
Wed Jul 13 13:39:25 2011 router.c:205 got a packet
Wed Jul 13 13:39:25 2011 out.c:403 trying to find connection for 'gmail.com'
Wed Jul 13 13:39:25 2011 out.c:406 connection for 'gmail.com' not found
Wed Jul 13 13:39:25 2011 out.c:412 no dns for gmail.com, preparing for
resolution
Wed Jul 13 13:39:25 2011 out.c:440 requesting resolution for gmail.com
Wed Jul 13 13:39:25 2011 out.c:1177 dns resolve for
gmail.com@0x42eb63d2a0 started
Wed Jul 13 13:39:25 2011 out.c:839 dns request for
gmail.com@0x42eb63d2a0: SRV xmpp-server
Wed Jul 13 13:39:25 2011 out.c:117 creating new out packet queue for
'mejor.pl/gmail.com'
Wed Jul 13 13:39:25 2011 out.c:125 queueing packet for 'mejor.pl/gmail.com'
Wed Jul 13 13:39:25 2011 main.c:583 read action on fd 5
Wed Jul 13 13:39:25 2011 router.c:296 read action on fd 6
sx (io.c:191) 6 ready for reading
sx (io.c:197) tag 6 event 2 data 0xeb63d0c0
Wed Jul 13 13:39:25 2011 router.c:44 reading from 6
Wed Jul 13 13:39:25 2011 router.c:69 read 238 bytes
sx (io.c:216) passed 238 read bytes
sx (chain.c:93) calling io read chain
sx (io.c:240) decoded read data (238 bytes): <route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='gmail.com'
from='mejor.pl'><iq xmlns='jabber:client' to='xxxxxxxxx...@gmail.com'
type='get' id='525' from='yyyyy...@mejor.pl/Gajim_'><vCard
xmlns='vcard-temp'/></iq></route>
sx (io.c:92) completed nad: <route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='mejor.pl'
to='gmail.com'><iq xmlns='jabber:client' from='yyyyy...@mejor.pl/Gajim_'
id='525' type='get' to='xx...@gmail.com'><vCard
xmlns='vcard-temp'/></iq></route>
sx (chain.c:119) calling nad read chain
sx (io.c:156) tag 6 event 6 data 0xeb63d0f0
Wed Jul 13 13:39:25 2011 router.c:205 got a packet
Wed Jul 13 13:39:25 2011 out.c:403 trying to find connection for 'gmail.com'
Wed Jul 13 13:39:25 2011 out.c:406 connection for 'gmail.com' not found
Wed Jul 13 13:39:25 2011 out.c:431 pending resolution
Wed Jul 13 13:39:25 2011 out.c:125 queueing packet for 'mejor.pl/gmail.com'
Wed Jul 13 13:39:35 2011 main.c:814 running time checks
Wed Jul 13 13:39:35 2011 main.c:316 running time checks for
mejor.pl/gmail.com
Wed Jul 13 13:39:35 2011 main.c:324 dns lookup pending for gmail.com
Wed Jul 13 13:39:35 2011 main.c:819 next time check at 1310557235
Wed Jul 13 13:40:35 2011 main.c:814 running time checks
Wed Jul 13 13:40:35 2011 main.c:316 running time checks for
mejor.pl/gmail.com
Wed Jul 13 13:40:35 2011 main.c:324 dns lookup pending for gmail.com
Wed Jul 13 13:40:35 2011 [notice] dns lookup for gmail.com timed out
sx (chain.c:106) calling nad write chain
sx (io.c:406) queueing for write: <route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='s2s'
to='mejor.pl'><iq xmlns='jabber:client' from='XXXXXX
@gmail.com' id='524' type='error' to='yyyyy...@mejor.pl/Gajim_'><error
type='cancel' code='404'><remote-server-not-found
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></
error><query xmlns='jabber:iq:last'/></iq></route>
sx (io.c:429) tag 6 event 1 data 0x0
Wed Jul 13 13:40:35 2011 router.c:39 want write
Wed Jul 13 13:40:35 2011 router.c:307 write action on fd 6
sx (io.c:328) 6 ready for writing
sx (io.c:286) encoding 348 bytes for writing: <route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='s2s'
to='mejor.pl'><iq xmlns='jabber:client' from=
'xxx...@gmail.com' id='524' type='error'
to='yyyyy...@mejor.pl/Gajim_'><error type='cancel'
code='404'><remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-
stanzas'/></error><query xmlns='jabber:iq:last'/></iq></route>
sx (chain.c:79) calling io write chain
sx (io.c:349) handing app 348 bytes to write
sx (io.c:350) tag 6 event 3 data 0xeb63c5b0
Wed Jul 13 13:40:35 2011 router.c:76 writing to 6
Wed Jul 13 13:40:35 2011 router.c:80 348 bytes written
sx (io.c:383) tag 6 event 0 data 0x0
Wed Jul 13 13:40:35 2011 router.c:34 want read
sx (io.c:431) tag 6 event 0 data 0x0
Wed Jul 13 13:40:35 2011 router.c:34 want read
sx (chain.c:106) calling nad write chain
sx (io.c:406) queueing for write: <route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='s2s'
to='mejor.pl'><iq xmlns='jabber:client' from='XXXXXX
@gmail.com' id='525' type='error' to='yyyyy...@mejor.pl/Gajim_'><error
type='cancel' code='404'><remote-server-not-found
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></
error><vCard xmlns='vcard-temp'/></iq></route>
sx (io.c:429) tag 6 event 1 data 0x0
Wed Jul 13 13:40:35 2011 router.c:39 want write
Wed Jul 13 13:40:35 2011 router.c:307 write action on fd 6
sx (io.c:328) 6 ready for writing
sx (io.c:286) encoding 344 bytes for writing: <route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='s2s'
to='mejor.pl'><iq xmlns='jabber:client' from=
'xxx...@gmail.com' id='525' type='error'
to='yyyyy...@mejor.pl/Gajim_'><error type='cancel'
code='404'><remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-
stanzas'/></error><vCard xmlns='vcard-temp'/></iq></route>
sx (chain.c:79) calling io write chain
sx (io.c:349) handing app 344 bytes to write
sx (io.c:350) tag 6 event 3 data 0xeb63cee0
Wed Jul 13 13:40:35 2011 router.c:76 writing to 6
Wed Jul 13 13:40:35 2011 router.c:80 344 bytes written
sx (io.c:383) tag 6 event 0 data 0x0
Wed Jul 13 13:40:35 2011 router.c:34 want read
x (io.c:431) tag 6 event 0 data 0x0
Wed Jul 13 13:40:35 2011 router.c:34 want read
Wed Jul 13 13:40:35 2011 out.c:1831 deleting out packet queue for
mejor.pl/gmail.com
Wed Jul 13 13:40:35 2011 main.c:819 next time check at 1310557295
<gajim stoped here to try retrieve informations about user>

Honestly i have no idea what i did wrong and how to make ma xmpp server
working. All ideas are welcome.
Thanks!

-- 
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com

Reply via email to