Trouble connection to other jabber servers

Hello, I’ve just installed my first openfire server but I am having trouble with it connection to other jabber servers (I’ve tested talk.google.com and jabber.org : debug logs are below).

Running: Openfire

3.5.1

With google the trouble in the logs starts with: Validation FAILED from: gmail.com id: FB1D2D9044BDF2D9 for domain: msg.shizzou.com

and with jabber.org: ServerDialback: OS - Time out waiting for answer in validation from: jabber.org id: 2043595771 for domain: msg.shizzou.com

I am new to jabber and solving DNS issues is not my strong point so I appoloize if the answer is blairingly obvious.

msg.shizzou.com does resolve to my openfire server.

any help in troubleshooting this is greatly appriciated and let me knwo if you need further details on the problem.

regards,

-sam

=== trying a connection to an account on talk.google.com ===

2008.06.23 18:41:21 NIOConnection: startTLS: using c2s

2008.06.23 18:41:22 000086 (01/05/00) - Connection #1 tested: OK

2008.06.23 18:41:22 000087 (01/05/00) - Connection #1 tested: OK

2008.06.23 18:41:22 000087 (01/05/00) - Connection #3 tested: OK

2008.06.23 18:41:22 000088 (01/05/00) - Connection #3 tested: OK

2008.06.23 18:41:22 AuthorizationManager: Trying Default Mapping.map(test)

2008.06.23 18:41:22 DefaultAuthorizationMapping: No realm found

2008.06.23 18:41:22 AuthorizationManager: Trying Default Policy.authorize(test , test)

2008.06.23 18:41:22 DefaultAuthorizationPolicy: Checking authenID realm

2008.06.23 18:41:22 000088 (01/05/00) - Connection #4 tested: OK

2008.06.23 18:41:22 000089 (01/05/00) - Connection #4 tested: OK

2008.06.23 18:41:22 000089 (01/05/00) - Connection #5 tested: OK

2008.06.23 18:41:22 000090 (01/05/00) - Connection #5 tested: OK

2008.06.23 18:41:22 000090 (01/05/00) - Connection #2 tested: OK

2008.06.23 18:41:22 000091 (01/05/00) - Connection #2 tested: OK

2008.06.23 18:41:22 000091 (01/05/00) - Connection #1 tested: OK

2008.06.23 18:41:22 000092 (01/05/00) - Connection #1 tested: OK

2008.06.23 18:41:22 000092 (01/05/00) - Connection #3 tested: OK

2008.06.23 18:41:22 000093 (01/05/00) - Connection #3 tested: OK

2008.06.23 18:41:22 000093 (02/05/00) - Connection #4 tested: OK

2008.06.23 18:41:22 000094 (02/05/00) - Connection #5 tested: OK

2008.06.23 18:41:22 000095 (02/05/00) - Connection #4 tested: OK

2008.06.23 18:41:22 000095 (01/05/00) - Connection #5 tested: OK

2008.06.23 18:41:22 LocalOutgoingServerSession: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server2.l.google.com:5269)

2008.06.23 18:41:22 LocalOutgoingServerSession: OS - Plain connection to gmail.com:5269 successful

2008.06.23 18:41:23 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: gmail.com

2008.06.23 18:41:23 ServerDialback: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server1.l.google.com:5269)

2008.06.23 18:41:23 ServerDialback: OS - Connection to gmail.com:5269 successful

2008.06.23 18:41:23 ServerDialback: OS - Sent dialback key to host: gmail.com id: FB1D2D9044BDF2D9 from domain: msg.shizzou.com

2008.06.23 18:41:23 ServerDialback: OS - Validation FAILED from: gmail.com id: FB1D2D9044BDF2D9 for domain: msg.shizzou.com

2008.06.23 18:41:23 RoutingTableImpl: Failed to route packet to JID: test@msg.shizzou.com/xmpphp packet:

<message to="test@msg.shizzou.com/xmpphp" from="sam.sjk@gmail.com" type=“error”>

<error code=“404” type=“cancel”>

<remote-server-not-found xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</message>

2008.06.23 18:41:23 RoutingTableImpl: Failed to route packet to JID: test@msg.shizzou.com packet:

<message to="test@msg.shizzou.com/xmpphp" from="sam.sjk@gmail.com" type=“error”>

<error code=“404” type=“cancel”>

<remote-server-not-found xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</message>

2008.06.23 18:41:23 OutgoingSessionPromise: Error sending packet to remote server:

<message from="test@msg.shizzou.com/xmpphp" to="sam.sjk@gmail.com" type=“chat”>

<body>This is a test message!</body>

</message>

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

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:228)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:194)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:636)

==== trying a connection to an account on jabber.org ====

2008.06.23 18:37:07 NIOConnection: startTLS: using c2s

2008.06.23 18:37:08 000079 (01/05/00) - Connection #5 tested: OK

2008.06.23 18:37:08 000080 (01/05/00) - Connection #5 tested: OK

2008.06.23 18:37:08 000080 (01/05/00) - Connection #2 tested: OK

2008.06.23 18:37:08 000081 (01/05/00) - Connection #2 tested: OK

2008.06.23 18:37:08 AuthorizationManager: Trying Default Mapping.map(test)

2008.06.23 18:37:08 DefaultAuthorizationMapping: No realm found

2008.06.23 18:37:08 AuthorizationManager: Trying Default Policy.authorize(test , test)

2008.06.23 18:37:08 DefaultAuthorizationPolicy: Checking authenID realm

2008.06.23 18:37:08 000081 (01/05/00) - Connection #1 tested: OK

2008.06.23 18:37:08 000082 (01/05/00) - Connection #1 tested: OK

2008.06.23 18:37:08 000082 (01/05/00) - Connection #3 tested: OK

2008.06.23 18:37:08 000083 (01/05/00) - Connection #3 tested: OK

2008.06.23 18:37:08 000083 (01/05/00) - Connection #4 tested: OK

2008.06.23 18:37:08 000084 (01/05/00) - Connection #4 tested: OK

2008.06.23 18:37:08 000084 (01/05/00) - Connection #5 tested: OK

2008.06.23 18:37:08 000085 (01/05/00) - Connection #5 tested: OK

2008.06.23 18:37:08 000085 (01/05/00) - Connection #2 tested: OK

2008.06.23 18:37:08 LocalOutgoingServerSession: OS - Trying to connect to jabber.org:5269(DNS lookup: hermes.jabber.org:5269)

2008.06.23 18:37:08 000086 (01/05/00) - Connection #2 tested: OK

2008.06.23 18:37:08 LocalOutgoingServerSession: OS - Plain connection to jabber.org:5269 successful

2008.06.23 18:37:08 LocalOutgoingServerSession: OS - Indicating we want TLS to jabber.org

2008.06.23 18:37:08 LocalOutgoingServerSession: OS - Negotiating TLS with jabber.org

2008.06.23 18:37:08 CertificateManager: SubjectAltName of invalid type found: EMAILADDRESS=hostmaster@jabber.org, CN=jabber.org, CN=*.jabber.org, OU=Domain validated only, O=XMPP Standards Foundation, L=Denver, ST=Colorado, C=US

2008.06.23 18:37:08 CertificateManager: SubjectAltName of invalid type found: EMAILADDRESS=hostmaster@jabber.org, CN=jabber.org, CN=*.jabber.org, OU=Domain validated only, O=XMPP Standards Foundation, L=Denver, ST=Colorado, C=US

2008.06.23 18:37:08 LocalOutgoingServerSession: OS - TLS negotiation with jabber.org was successful

2008.06.23 18:37:08 LocalOutgoingServerSession: OS - Error, no SASL mechanisms were offered by jabber.org

2008.06.23 18:37:08 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: jabber.org

2008.06.23 18:37:08 ServerDialback: OS - Trying to connect to jabber.org:5269(DNS lookup: hermes.jabber.org:5269)

2008.06.23 18:37:08 ServerDialback: OS - Connection to jabber.org:5269 successful

2008.06.23 18:37:08 ServerDialback: OS - Sent dialback key to host: jabber.org id: 2043595771 from domain: msg.shizzou.com

2008.06.23 18:37:28 ServerDialback: OS - Time out waiting for answer in validation from: jabber.org id: 2043595771 for domain: msg.shizzou.com

2008.06.23 18:37:28 RoutingTableImpl: Failed to route packet to JID: test@msg.shizzou.com/xmpphp packet:

<message to="test@msg.shizzou.com/xmpphp" from="samkeen@jabber.org" type=“error”>

<error code=“404” type=“cancel”>

<remote-server-not-found xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</message>

2008.06.23 18:37:28 RoutingTableImpl: Failed to route packet to JID: test@msg.shizzou.com packet:

<message to="test@msg.shizzou.com/xmpphp" from="samkeen@jabber.org" type=“error”>

<error code=“404” type=“cancel”>

<remote-server-not-found xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</message>

2008.06.23 18:37:28 OutgoingSessionPromise: Error sending packet to remote server:

<message from="test@msg.shizzou.com/xmpphp" to="samkeen@jabber.org" type=“chat”>

<body>This is a test message!</body>

</message>

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

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:228)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:194)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:636)

2008.06.23 18:37:28 OutgoingServerSocketReader: Finishing Outgoing Server Reader. No session to close.

java.net.SocketException: Socket closed

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(SocketInputStream.java:146)

at org.jivesoftware.openfire.net.ServerTrafficCounter$InputStreamWrapper.read(Serv erTrafficCounter.java:210)

at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282)

at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324)

at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176)

at java.io.InputStreamReader.read(InputStreamReader.java:184)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)

at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:76)

at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)

at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:317)

at org.jivesoftware.openfire.server.OutgoingServerSocketReader$1.run(OutgoingServe rSocketReader.java:93)

I fixed this by adding SRV records to DNS since I needed XMPP traffic to got to the same domain but differernt box.