powered by Jive Software

NullPointerException when creating outgoing session

Hi,

I’m getting strange error when my server (jid.pl) tries to connect to one of Polish Jabber servers: chrome.pl. Below is stacktrace.

Users from my server cannot talk with friends on that server beacause of error: Remote server not found. A remote server or service specified as part or all of the JID of the intended recipient does not exist. Service discovery for chrome.pl also isn’t working.

Could someone investigate where is the problem? Is it Openfire, or chrome.pl? Any help would be very appreciated.

I’m running latest Openfire 3.6.3.

Stacktrace:

2009.01.25 11:43:35
[org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSes sion(LocalOutgoingServerSession.java:360)]
Error creating secured outgoing session to remote server: chrome.pl(DNS
lookup: seikken.xiaoka.com:5269)
java.lang.NullPointerException
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.secureAndAuthentic ate(LocalOutgoingServerSession.java:473)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:305)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:185)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:239)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:216)
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:619)
2009.01.25
11:43:35
[org.jivesoftware.openfire.net.SocketReadingMode.negotiateTLS(SocketReadingMode .java:77)]
Error while negotiating TLS:
org.jivesoftware.openfire.net.SocketConnection@a25d3a socket:
Socket[addr=/217.173.160.48,port=42075,localport=5269] session:
org.jivesoftware.openfire.session.LocalIncomingServerSession@1aaf3c6
status: 1 address: jid.pl/1f39462f id: 1f39462f
javax.net.ssl.SSLException: Unexpected end of handshake data
at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:954)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:4 65)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:701 )
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:669)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.jav a:214)
at org.jivesoftware.openfire.net.TLSStreamHandler.start(TLSStreamHandler.java:160)
at org.jivesoftware.openfire.net.SocketConnection.startTLS(SocketConnection.java:1 69)
at org.jivesoftware.openfire.net.SocketReadingMode.negotiateTLS(SocketReadingMode. java:74)
at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMod e.java:127)
at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java: 63)
at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:120)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.net.ssl.SSLException: Unexpected end of handshake data
at com.sun.net.ssl.internal.ssl.HandshakeInStream.read(HandshakeInStream.java:81)
at java.io.InputStream.read(InputStream.java:85)
at com.sun.net.ssl.internal.ssl.UnknownExtension.(HelloExtensions.java:204)
at com.sun.net.ssl.internal.ssl.HelloExtensions.(HelloExtensions.java:69)
at com.sun.net.ssl.internal.ssl.HandshakeMessage$ClientHello.(HandshakeMessa ge.java:252)
at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.j ava:135)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:458)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:875)
at org.jivesoftware.openfire.net.TLSStreamHandler.doTasks(TLSStreamHandler.java:31 7)
at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.jav a:227)
… 7 more