powered by Jive Software

OpenFire 3.7.1 Server to Server Communication

I am attempting to configure S2S and have been completely unsuccessful. I have attempted between remote OpenFire Servers as well as communicating with jabber.org and have been complete unsuccessful with both. I have the server set to assign self-signed certificates, not to verify the certificates.

Here is what I see in the debug log when trying to connect to jabber.org:

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

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

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

Here is what I see when trying to connect to remote server:

2012.06.07 11:40:11 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain=

2012.06.07 11:40:11 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder=

2012.06.07 11:40:11 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /10.100.0.1:51311

2012.06.07 11:40:11 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /10.100.0.1:51311

at java.lang.Thread.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

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

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

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

<presence id=“EFbf1-37” to=“UN@DN” type=“subscribe” from="UN@FQDN>

2012.06.07 11:40:11 org.jivesoftware.openfire.server.OutgoingSessionPromise - OutgoingSessionPromise: Error sending packet to remote server:

2012.06.07 11:40:11 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.100.0.1:51311] encrypted buf: HeapBuffer[pos=0 lim=253 cap=253: 17 03 01 00 F8 16 2E 1C B5 9A 48 5A D0 8B CA 2E 47 ED B6 32 65 1F 7C C1 1A D1 A3 1C 99 84 73 D2 D8 6A AB AF D5 8F 82 2F 2A A1 C3 5E 24 A0 CD 1D DA 5C D8 07 E8 8E 53 8C E9 64 08 98 BF A4 61 2D 18 ED 8B FD F1 B0 5C 9E 50 53 94 22 44 73 BC D8 50 5D 4D AB C9 A1 3D 19 45 F0 BF B7 A7 F1 9C 80 BA 20 56 00 B6 0D 11 E8 9D F4 A2 C8 D7 65 7B E7 FB D8 F3 85 8E 2D 7A EA B9 B9 29 BF 8C EC F6 D6 59 B0 57 F6 65 E5 8F 8E ED D4 4C D1 10 A5 1E 23 FC 1B 9C 75 D6 7A D3 D7 7F CC A1 CA 10 8F 4A D2 3F CF 71 23 06 91 A3 8D 13 FF 7F 9B 42 34 EF E8 D1 30 98 4D 7D A5 81 E0 4B BA 9F 78 3F 1D BA AE 5A BD 70 99 76 58 AC F7 3E E8 6F 6A 0F 4A 67 44 82 E5 76 5C B6 4D 4C CD 48 29 AA 6B 39 DE F5 84 6A 65 E3 40 76 88 72 AD 16 45 50 EE 0C 30 9C DD 8D FB 63 C0 B0 5E 0E BB D7 FC F4 BA DA]

bytesConsumed = 232 bytesProduced = 253

2012.06.07 11:40:11 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.100.0.1:51311] Wrap res:Status = OK HandshakeStatus = NOT_HANDSHAKING

2012.06.07 11:40:11 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.100.0.1:51311] encrypt: HeapBuffer[pos=0 lim=232 cap=4096: 3C 70 72 65 73 65 6E 63 65 20 69 64 3D 22 45 46 62 66 31 2D 33 37 22 20 74 6F 3D 22 6A 6F 6E 61 74 68 61 6E 40 69 6D 2E 6E 65 68 72 69 6E 67 2E 63 6F 6D 2F 53 70 61 72 6B 20 32 2E 36 2E 33 22 20 66 72 6F 6D 3D 22 77 72 65 40 63 72 6F 73 73 74 69 6D 62 65 72 73 6F 72 74 68 6F 2E 63 6F 6D 22 20 74 79 70 65 3D 22 65 72 72 6F 72 22 3E 3C 65 72 72 6F 72 20 63 6F 64 65 3D 22 34 30 34 22 20 74 79 70 65 3D 22 63 61 6E 63 65 6C 22 3E 3C 72 65 6D 6F 74 65 2D 73 65 72 76 65 72 2D 6E 6F 74 2D 66 6F 75 6E 64 20 78 6D 6C 6E 73 3D 22 75 72 6E 3A 69 65 74 66 3A 70 61 72 61 6D 73 3A 78 6D 6C 3A 6E 73 3A 78 6D 70 70 2D 73 74 61 6E 7A 61 73 22 2F 3E 3C 2F 65 72 72 6F 72 3E 3C 2F 70 72 65 73 65 6E 63 65 3E]

2012.06.07 11:40:11 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.100.0.1:51311] Filtered Write: org.apache.mina.filter.support.SSLHandler@1b271f1

2012.06.07 11:40:11 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Invalid namespace in packet: <stream:stream from=“FQDN” id=“dX365” xmlns=“jabber:server” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>

2012.06.07 11:40:11 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain=

2012.06.07 11:40:11 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder=

2012.06.07 11:40:11 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain=

2012.06.07 11:40:11 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder=

2012.06.07 11:40:11 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Connection to DN:5269 successful

2012.06.07 11:40:11 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Trying to connect to DN:5269(DNS lookup: FQDN:5269)

at java.lang.Thread.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

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

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

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:167)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:400)

at org.jivesoftware.openfire.server.ServerDialback.createOutgoingSession(ServerDia lback.java:209)

at org.jivesoftware.openfire.net.DNSUtil.resolveXMPPDomain(DNSUtil.java:131)

at org.jivesoftware.openfire.net.DNSUtil.srvLookup(DNSUtil.java:199)