Server2Server error

Hi,

the connection between two XAMPP server does not work but incoming messages are received.

Error Log:

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

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

2011.06.09 14:41:45 Error trying to connect to remote server: de(DNS lookup: de:5269)

java.net.UnknownHostException: de

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

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

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

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

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

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)

2011.06.09 14:48:32 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2011.06.09 14:48:32 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2011.06.09 14:48:32 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2011.06.09 14:49:01 SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/178.***:9091 remote=/87.***:49418]

2011.06.09 14:49:01 SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/178.***:9091 remote=/87.***:49424]

2011.06.09 14:49:01 SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/178.***:9091 remote=/87.***:49425]

2011.06.09 14:49:03 SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/178.***:9091 remote=/87.***:49417]

2011.06.09 14:49:03 SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/178.***:9091 remote=/87.***:49416]

2011.06.09 14:49:28 SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/178.***:9091 remote=/87.***:49561]

2011.06.09 14:49:46 Error trying to connect to remote server: ***.de(DNS lookup: ***.de:5269)

java.net.ConnectException: Connection timed out

Does anyone have an idea?

Thanks

exactly the same problem here. One interesting fact thou, it does work to and from googletalk, but not with the other jabber server i want to connect to. My log:

2011.06.09 18:05:30 LocalOutgoingServerSession: OS - Trying to connect to jabber.rwth-aachen.de:5269(DNS lookup: vm01.jabber.rwth-aachen.de:5269)

2011.06.09 18:05:30 LocalOutgoingServerSession: OS - Plain connection to jabber.rwth-aachen.de:5269 successful

2011.06.09 18:05:30 LocalOutgoingServerSession: OS - Indicating we want TLS to jabber.rwth-aachen.de

2011.06.09 18:05:30 LocalOutgoingServerSession: OS - Negotiating TLS with jabber.rwth-aachen.de

2011.06.09 18:05:30 LocalOutgoingServerSession: Handshake error while creating secured outgoing session to remote server: jabber.rwth-aachen.de(DNS lookup: vm01.jabber.rwth-aachen.de:5269)

javax.net.ssl.SSLHandshakeException: General SSLEngine problem

at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:1015)

at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:4 80)

at com.sun.net.ssl.internal.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:11 20)

at com.sun.net.ssl.internal.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1092)

at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:452)

at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.jav a:274)

at org.jivesoftware.openfire.net.TLSStreamHandler.start(TLSStreamHandler.java:168)

at org.jivesoftware.openfire.net.SocketConnection.startTLS(SocketConnection.java:1 82)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.secureAndAuthentic ate(LocalOutgoingServerSession.java:420)

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

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

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

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

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)

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

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

Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)

at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1490)

at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:243)

at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:235)

at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshake r.java:1206)

at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.j ava:136)

at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)

at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:533)

at java.security.AccessController.doPrivileged(Native Method)

at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:952)

at org.jivesoftware.openfire.net.TLSStreamHandler.doTasks(TLSStreamHandler.java:32 5)

at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.jav a:235)

… 10 more

Caused by: java.security.cert.CertificateException: root certificate not trusted of [jabber.rwth-aachen.de]

at org.jivesoftware.openfire.net.ServerTrustManager.checkServerTrusted(ServerTrust Manager.java:159)

at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshake r.java:1198)

… 17 more

2011.06.09 18:05:30 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: jabber.rwth-aachen.de

2011.06.09 18:05:30 ServerDialback: OS - Trying to connect to jabber.rwth-aachen.de:5269(DNS lookup: vm01.jabber.rwth-aachen.de:5269)

2011.06.09 18:05:30 ServerDialback: OS - Connection to jabber.rwth-aachen.de:5269 successful

2011.06.09 18:05:30 ServerDialback: OS - Sent dialback key to host: jabber.rwth-aachen.de id: f7750a35 from domain: catscrash.de

2011.06.09 18:05:30 ServerDialback: OS - Unexpected answer in validation from: jabber.rwth-aachen.de id: f7750a35 for domain: catscrash.de answer:<stream:features xmlns:stream=“http://etherx.jabber.org/streams”></stream:features>

You both may be hitting this bug OF-443