javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Ever since we upgraded to version 3.2 a couple of times a day I have to stop the service (it won't stop on it's own so I have to end the task) and restart it again. The behavior is that people start to not see each other online and then they try to log out and log back in and it won't let them back in. There are a lot of errors like this in the error.log ----- 2007.02.14 12:29:29 [org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:239) ] Error in interceptor java.lang.NullPointerException at org.jivesoftware.wildfire.audit.spi.AuditorImpl$AuditPacket.<init>(AuditorImpl.java:384) at org.jivesoftware.wildfire.audit.spi.AuditorImpl.writePacket(AuditorImpl.java:140) at org.jivesoftware.wildfire.audit.spi.AuditorImpl.audit(AuditorImpl.java:121) at org.jivesoftware.wildfire.audit.spi.AuditManagerImpl$AuditorInterceptor.interceptPacket(AuditManagerImpl.java:281) at org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:227) at org.jivesoftware.wildfire.MessageRouter.route(MessageRouter.java:72) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:71) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:53) at org.jivesoftware.wildfire.component.InternalComponentManager.sendPacket(InternalComponentManager.java:186) at org.jivesoftware.wildfire.gateway.BaseTransport.sendPacket(BaseTransport.java:1464) at org.jivesoftware.wildfire.gateway.BaseTransport.sendComposingNotification(BaseTransport.java:1523) at org.jivesoftware.wildfire.gateway.protocols.oscar.BasicFlapConnection.handleSnacPacket(BasicFlapConnection.java:176) at org.jivesoftware.wildfire.gateway.protocols.oscar.BOSConnection.handleSnacPacket(BOSConnection.java:65) at org.jivesoftware.wildfire.gateway.protocols.oscar.BaseFlapConnection$4.handleSnacPacket(BaseFlapConnection.java:66) at net.kano.joscar.snac.AbstractSnacProcessor.processPacket(AbstractSnacProcessor.java:474) at net.kano.joscar.snac.AbstractSnacProcessor.access$100(AbstractSnacProcessor.java:134) at net.kano.joscar.snac.AbstractSnacProcessor$1.handlePacket(AbstractSnacProcessor.java:208) at net.kano.joscar.flap.AbstractFlapProcessor.processPacketSynchronously(AbstractFlapProcessor.java:231) at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.tryProcessingPackets(AsynchronousFlapProcessor.java:75) at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.run(AsynchronousFlapProcessor.java:63) at java.lang.Thread.run(Unknown Source) ----- Also at the very end was this one ----- 2007.02.14 15:03:15 [org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:338) ] Error creating secured outgoing session to remote server: msn.dsdemail.com(DNS lookup: msn.dsdemail.com:5269) javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(Unknown Source) at javax.net.ssl.SSLEngine.unwrap(Unknown Source) at org.jivesoftware.wildfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:211) at org.jivesoftware.wildfire.net.TLSStreamHandler.start(TLSStreamHandler.java:157) at org.jivesoftware.wildfire.net.SocketConnection.startTLS(SocketConnection.java:164) at org.jivesoftware.wildfire.session.OutgoingServerSession.secureAndAuthenticate(OutgoingServerSession.java:366) at org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:302) at org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(OutgoingServerSession.java:142) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPacket(OutgoingSessionPromise.java:199) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(OutgoingSessionPromise.java:184) 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) -----
    via by Nathan Palmer,
  • Ever since we upgraded to version 3.2 a couple of times a day I have to stop the service (it won't stop on it's own so I have to end the task) and restart it again. The behavior is that people start to not see each other online and then they try to log out and log back in and it won't let them back in. There are a lot of errors like this in the error.log ----- 2007.02.14 12:29:29 [org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:239) ] Error in interceptor java.lang.NullPointerException at org.jivesoftware.wildfire.audit.spi.AuditorImpl$AuditPacket.<init>(AuditorImpl.java:384) at org.jivesoftware.wildfire.audit.spi.AuditorImpl.writePacket(AuditorImpl.java:140) at org.jivesoftware.wildfire.audit.spi.AuditorImpl.audit(AuditorImpl.java:121) at org.jivesoftware.wildfire.audit.spi.AuditManagerImpl$AuditorInterceptor.interceptPacket(AuditManagerImpl.java:281) at org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:227) at org.jivesoftware.wildfire.MessageRouter.route(MessageRouter.java:72) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:71) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:53) at org.jivesoftware.wildfire.component.InternalComponentManager.sendPacket(InternalComponentManager.java:186) at org.jivesoftware.wildfire.gateway.BaseTransport.sendPacket(BaseTransport.java:1464) at org.jivesoftware.wildfire.gateway.BaseTransport.sendComposingNotification(BaseTransport.java:1523) at org.jivesoftware.wildfire.gateway.protocols.oscar.BasicFlapConnection.handleSnacPacket(BasicFlapConnection.java:176) at org.jivesoftware.wildfire.gateway.protocols.oscar.BOSConnection.handleSnacPacket(BOSConnection.java:65) at org.jivesoftware.wildfire.gateway.protocols.oscar.BaseFlapConnection$4.handleSnacPacket(BaseFlapConnection.java:66) at net.kano.joscar.snac.AbstractSnacProcessor.processPacket(AbstractSnacProcessor.java:474) at net.kano.joscar.snac.AbstractSnacProcessor.access$100(AbstractSnacProcessor.java:134) at net.kano.joscar.snac.AbstractSnacProcessor$1.handlePacket(AbstractSnacProcessor.java:208) at net.kano.joscar.flap.AbstractFlapProcessor.processPacketSynchronously(AbstractFlapProcessor.java:231) at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.tryProcessingPackets(AsynchronousFlapProcessor.java:75) at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.run(AsynchronousFlapProcessor.java:63) at java.lang.Thread.run(Unknown Source) ----- Also at the very end was this one ----- 2007.02.14 15:03:15 [org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:338) ] Error creating secured outgoing session to remote server: msn.dsdemail.com(DNS lookup: msn.dsdemail.com:5269) javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(Unknown Source) at javax.net.ssl.SSLEngine.unwrap(Unknown Source) at org.jivesoftware.wildfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:211) at org.jivesoftware.wildfire.net.TLSStreamHandler.start(TLSStreamHandler.java:157) at org.jivesoftware.wildfire.net.SocketConnection.startTLS(SocketConnection.java:164) at org.jivesoftware.wildfire.session.OutgoingServerSession.secureAndAuthenticate(OutgoingServerSession.java:366) at org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:302) at org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(OutgoingServerSession.java:142) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPacket(OutgoingSessionPromise.java:199) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(OutgoingSessionPromise.java:184) 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) -----
    via by Nathan Palmer,
  • Ever since we upgraded to version 3.2 a couple of times a day I have to stop the service (it won't stop on it's own so I have to end the task) and restart it again. The behavior is that people start to not see each other online and then they try to log out and log back in and it won't let them back in. There are a lot of errors like this in the error.log ----- 2007.02.14 12:29:29 [org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:239) ] Error in interceptor java.lang.NullPointerException at org.jivesoftware.wildfire.audit.spi.AuditorImpl$AuditPacket.<init>(AuditorImpl.java:384) at org.jivesoftware.wildfire.audit.spi.AuditorImpl.writePacket(AuditorImpl.java:140) at org.jivesoftware.wildfire.audit.spi.AuditorImpl.audit(AuditorImpl.java:121) at org.jivesoftware.wildfire.audit.spi.AuditManagerImpl$AuditorInterceptor.interceptPacket(AuditManagerImpl.java:281) at org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:227) at org.jivesoftware.wildfire.MessageRouter.route(MessageRouter.java:72) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:71) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:53) at org.jivesoftware.wildfire.component.InternalComponentManager.sendPacket(InternalComponentManager.java:186) at org.jivesoftware.wildfire.gateway.BaseTransport.sendPacket(BaseTransport.java:1464) at org.jivesoftware.wildfire.gateway.BaseTransport.sendComposingNotification(BaseTransport.java:1523) at org.jivesoftware.wildfire.gateway.protocols.oscar.BasicFlapConnection.handleSnacPacket(BasicFlapConnection.java:176) at org.jivesoftware.wildfire.gateway.protocols.oscar.BOSConnection.handleSnacPacket(BOSConnection.java:65) at org.jivesoftware.wildfire.gateway.protocols.oscar.BaseFlapConnection$4.handleSnacPacket(BaseFlapConnection.java:66) at net.kano.joscar.snac.AbstractSnacProcessor.processPacket(AbstractSnacProcessor.java:474) at net.kano.joscar.snac.AbstractSnacProcessor.access$100(AbstractSnacProcessor.java:134) at net.kano.joscar.snac.AbstractSnacProcessor$1.handlePacket(AbstractSnacProcessor.java:208) at net.kano.joscar.flap.AbstractFlapProcessor.processPacketSynchronously(AbstractFlapProcessor.java:231) at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.tryProcessingPackets(AsynchronousFlapProcessor.java:75) at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.run(AsynchronousFlapProcessor.java:63) at java.lang.Thread.run(Unknown Source) ----- Also at the very end was this one ----- 2007.02.14 15:03:15 [org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:338) ] Error creating secured outgoing session to remote server: msn.dsdemail.com(DNS lookup: msn.dsdemail.com:5269) javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(Unknown Source) at javax.net.ssl.SSLEngine.unwrap(Unknown Source) at org.jivesoftware.wildfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:211) at org.jivesoftware.wildfire.net.TLSStreamHandler.start(TLSStreamHandler.java:157) at org.jivesoftware.wildfire.net.SocketConnection.startTLS(SocketConnection.java:164) at org.jivesoftware.wildfire.session.OutgoingServerSession.secureAndAuthenticate(OutgoingServerSession.java:366) at org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:302) at org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(OutgoingServerSession.java:142) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPacket(OutgoingSessionPromise.java:199) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(OutgoingSessionPromise.java:184) 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) -----
    via by Nathan Palmer,
  • Plaintext Connection
    via Stack Overflow by Kevin Taylor
    ,
  • 1) Start your Opal server 2) Go to the following URL : https://localhost:8443/ Expected result: Opal UI is diplayed in browser. Actual result: Nothing is displayed (white page). Found the following trace in server log: 2010-06-17 11:05:03,342 - INFO - jetty.util.log - org.eclipse.jetty.io.nio.SelectorManager$SelectSet@6ff329 JVM BUG(s) - cancelled keys 1 times 2010-06-17 11:05:29,889 - DEBUG - jetty.http.ssl - [Session-1, SSL_NULL_WITH_NULL_NULL] channel=java.nio.channels.SocketChannel[connected local=/127.0.0.1:8443 remote=/127.0.0.1:4210] 2010-06-17 11:05:29,889 - DEBUG - jetty.http.ssl - [Session-1, SSL_NULL_WITH_NULL_NULL] unwrap filled 408 2010-06-17 11:05:29,889 - DEBUG - jetty.http.ssl - [Session-1, SSL_NULL_WITH_NULL_NULL] unwrap filled 0 2010-06-17 11:05:29,889 - WARN - jetty.util.log - javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 2010-06-17 11:05:29,889 - DEBUG - jetty.util.log - EXCEPTION javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:152) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:754) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:669) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607) at org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:667) at org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:297) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:300) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437) at java.lang.Thread.run(Thread.java:619) 2010-06-17 11:05:29,905 - DEBUG - jetty.util.log - EXCEPTION javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:152) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:754) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:669) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607) at org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:667) at org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:297) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:300) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437) at java.lang.Thread.run(Thread.java:619) 2010-06-17 11:05:29,905 - DEBUG - jetty.util.log - EOF 2010-06-17 11:05:29,905 - DEBUG - jetty.http.ssl - [Session-1, SSL_NULL_WITH_NULL_NULL] closing NEED_WRAP 2010-06-17 11:05:29,905 - DEBUG - jetty.http.ssl - [Session-1, SSL_NULL_WITH_NULL_NULL] close wrap Status = CLOSED HandshakeStatus = NEED_UNWRAP bytesConsumed = 0 bytesProduced = 7
    via by Martin Boulanger,
  • NEED_UNWRAP ambiguity
    via by 843811,
    • javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(Unknown Source) at javax.net.ssl.SSLEngine.unwrap(Unknown Source) at org.jivesoftware.wildfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:211) at org.jivesoftware.wildfire.net.TLSStreamHandler.start(TLSStreamHandler.java:157) at org.jivesoftware.wildfire.net.SocketConnection.startTLS(SocketConnection.java:164) at org.jivesoftware.wildfire.session.OutgoingServerSession.secureAndAuthenticate(OutgoingServerSession.java:366) at org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:302) at org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(OutgoingServerSession.java:142) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPacket(OutgoingSessionPromise.java:199) at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(OutgoingSessionPromise.java:184) 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,