S2S no handshake?

Hello,

I have a following situation:

Location A, im.ourdomein.abc : installed 1 internal fully-working OpenFire Server 3.4

Location B, im.theirdomain.xyz : installed 1 internal fully-working OpenFire Server 3.4

Location A and B are connected through a VPN (appliances). So NAT-ting is hapening !

I want to connect both OpenFire-environments to each other, without using a public-available servers. I’ve added in both local DNS servers each others records.

When I want to authenticate an account of theirdomain.xyz I get following debug msg (I scrambled the real domain-names):

2007.11.02 09:26:47 OS - Trying to connect to im.theirdomain.xyz:5269(DNS lookup: im.theirdomain.xyz:5269)

2007.11.02 09:26:48 OS - Plain connection to im.theirdomain.xyz:5269 successful

2007.11.02 09:26:49 OS - Indicating we want TLS to im.theirdomain.xyz

2007.11.02 09:26:49 OS - Error, <proceed> was not received

2007.11.02 09:26:49 OS - Going to try connecting using server dialback with: im.theirdomain.xyz

2007.11.02 09:26:49 OS - Trying to connect to im.theirdomain.xyz:5269(DNS lookup: im.theirdomain.xyz:5269)

2007.11.02 09:26:49 OS - Connection to im.theirdomain.xyz:5269 successful

2007.11.02 09:26:50 OS - Sent dialback key to host: im.theirdomain.xyz id: 824595c5 from domain: im.ourdomain.abc

2007.11.02 09:27:10 OS - Time out waiting for answer in validation from: im.theirdomain.xyz id: 824595c5 for domain: im.ourdomain.abc

Anyone any idea why it is not working ? When I installed an extra OpenFire server at both ends, the 2 servers at ourdomain.abc could talk to each other, and the 2 server at theirdomain.xyz could talk to each other. But not ourdomain.abc to theirdomain.xyz

Thanks for your help …

Forgot to mention:After the ‘Timeout’ message I get the following error:

2007.11.02 10:46:05 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(Unknown Source)

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

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

at java.io.InputStreamReader.read(Unknown Source)

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:75)

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:92)

Hi peter,

misery loves company. I have the same problem connecting to a public server from my internal server. Firewall is good, I can telnet to the remote server (jabber.org) on port 5269, but when I try to add the remote user to the internal user’s buddy list it just times out waiting for a dialback.

Anybody got any ideas on what’s going on?

Bueller? Bueller?

Logged:

2007.12.10 10:50:41 OS

  • TLS negotiation with jabber.org was successful2007.12.10 10:50:41 OS - Error, no

SASL mechanisms were offered by jabber.org2007.12.10 10:50:41 OS - Going to try

connecting using server dialback with: jabber.org2007.12.10 10:50:41 OS - Trying to

connect to jabber.org:5269(DNS lookup: jabber.org:5269)2007.12.10 10:50:41 OS -

Connection to jabber.org:5269 successful2007.12.10 10:50:41 OS - Sent dialback key to

host: jabber.org id: 604152653 from domain: mydomain.com2007.12.10 10:51:01 OS - Time out

waiting for answer in validation from: jabber.org id: 604152653 for domain: mydomain.com2007.12.10 10:51:01 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(Unknown

Source)at

org.jivesoftware.openfire.net.ServerTrafficCounter$InputStreamWra pper.read(ServerTrafficCounter.java:209)

at

sun.nio.cs.StreamDecoder.readBytes(Unknown Source)

at

sun.nio.cs.StreamDecoder.implRead(Unknown Source)

at

sun.nio.cs.StreamDecoder.read(Unknown Source)

at

java.io.InputStreamReader.read(Unknown Source)

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:75)

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 (OutgoingServerSocketReader.java:92)2007.12.10 10:51:01 Error sending

packet to remote server:

<presence id=“NtbLt-71”

           to="remoteaccount@jabber.org" type="subscribe"

           from="me@mydomain.com"/&gt;

java.lang.Exception: Failed to

create connection to remote serverat

org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsPr ocessor.sendPacket(OutgoingSessionPromise.java:218)at

org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsPr ocessor.run(OutgoingSessionPromise.java:185)

at

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown

Source)

at

java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

Source)

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

I’ve got the same problem,

My Servers are actually right next to eachother on the network and won’t talk to eachother.

i’ve got this problem when i upgrade openfire from 3.5 RC1 to RC2; but in 3.5.0 it still present

here is part of log

2008.04.08 10:25:11 ServerDialback: OS - Time out waiting for answer in validation from: gmail.com id: BBEFEE7E7C0DD02A for domain: jabber.watson.zp.ua

2008.04.08 10:25:11 OutgoingSessionPromise: Error sending packet to remote server: