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

JIRA | Martin Boulanger | 6 years ago
  1. 0

    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

    JIRA | 6 years ago | Martin Boulanger
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  2. 0

    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

    JIRA | 6 years ago | Martin Boulanger
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  3. 0

    Plaintext Connection

    Stack Overflow | 4 years ago | Kevin Taylor
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 939#3193633

    GitHub | 5 years ago | stuartwdouglas
    org.jboss.as.test.integration.ejb.client.descriptor.EJBClientDescriptorTestCase: 18:33:44,900 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.ejb3.dd-based-ejb-client-context."ejb-client-descriptor-test.jar": org.jboss.msc.service.StartException in service jboss.ejb3.dd-based-ejb-client-context."ejb-client-descriptor-test.jar": Failed to start service
  6. 0

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

    oneswarm.org | 1 year ago
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.net.ssl.SSLException

      Unrecognized SSL message, plaintext connection?

      at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket()
    2. Java JSSE
      SSLEngineImpl.unwrap
      1. com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:152)
      2. com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:754)
      3. com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:669)
      3 frames
    3. Java RT
      SSLEngine.unwrap
      1. javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
      1 frame
    4. GWT dev
      SslSelectChannelEndPoint.fill
      1. org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:667)
      2. org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:297)
      2 frames
    5. Jetty
      HttpConnection.handle
      1. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:300)
      2. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222)
      3. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417)
      3 frames
    6. GWT dev
      SelectChannelEndPoint.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474)
      1 frame
    7. Jetty
      QueuedThreadPool$2.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame