Problems with server to server connections


I have set up a jabber server on our development domain ( All neccesary ports are forwarded from the firewall to the internal server. (5269, 5222, 5223) I can connect to the server from outside (using Gaim).

I’'ve set the following SRV records: 43200 IN SRV 20 0 5269 43200 IN SRV 20 0 5269 43200 IN SRV 20 0 5222

When I try to connect to the domain by sending a message to a user on that domain. In the debug log, I get the following errors.

2006.08.21 12:50:15 OS - Trying to connect to lookup:

2006.08.21 12:50:17 OS - Plain connection to successful

2006.08.21 12:50:18 OS - Going to try connecting using server dialback

2006.08.21 12:50:20 OS - Trying to connect to lookup:

2006.08.21 12:50:20 OS - Connection to successful

2006.08.21 12:50:21 OS - Sent dialback key to host: id: 1478571830 from domain:

2006.08.21 12:50:41 OS - Time out waiting for answer in validation from: id: 1478571830 for domain:

2006.08.21 12:50:41 Finishing Outgoing Server Reader. No session to close. socket closed

at Method)



at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(

at sun.nio.cs.StreamDecoder$CharsetSD.implRead(



at org.xmlpull.mxp1.MXParser.fillBuf(

at org.xmlpull.mxp1.MXParser.more(


at org.xmlpull.mxp1.MXParser.nextToken(


at org.jivesoftware.wildfire.server.OutgoingServerSocketReader$

2006.08.21 12:50:41 Error sending packet to remote server:

java.lang.Exception: Failed to create connection to remote server

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.createSessionAndSendPac ket(

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.access$300(OutgoingSess

at org.jivesoftware.wildfire.server.OutgoingSessionPromise$1$

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( 650)

at java.util.concurrent.ThreadPoolExecutor$


Now can someone please tell me what I am doing wrong?

Hey GustavB,

I don’'t think you are doing anything wrong. You are trying to send a message to a user @ and when while establishing a connection to the process fails since is not answering (in 5 seconds) a validation request. May be was under heavy load or something thus it was not responding. Try using some other server just to confirm that you are not having some firewall blocking communications.


– Gato


Turns out it was the company firewall. The configuration interface was misleading - It said that the correct ports were being forwarded, while in reality they weren’'t.