javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.SSLEngineInputRecord.bytesInCompletePacket(java.base@9-ea/SSLEngineInputRecord.java:141) at sun.security.ssl.SSLEngineImpl.readNetRecord(java.base@9-ea/SSLEngineImpl.java:811) at sun.security.ssl.SSLEngineImpl.unwrap(java.base@9-ea/SSLEngineImpl.java:673) at javax.net.ssl.SSLEngine.unwrap(java.base@9-ea/SSLEngine.java:624)

JDK Bug System | Amy Lu | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    sun/security/ssl/SSLEngineImpl/SSLEngineBadBufferArrayAccess.java fails intermittently with Unrecognized SSL message: #section:main ----------messages:(4/188)---------- command: main SSLEngineBadBufferArrayAccess reason: User specified action: run main/othervm SSLEngineBadBufferArrayAccess Mode: othervm [/othervm specified] elapsed time (seconds): 3.772 ----------configuration:(0/0)---------- ----------System.out:(44/1180)---------- Testing SSLv3:true ================ The format of the SSLEngineResult is: "getStatus() / getHandshakeStatus()" + "bytesConsumed() / bytesProduced()" server unwrap: OK/NEED_TASK, 141/0 bytes running delegated task... new HandshakeStatus: NEED_WRAP ---- server wrap: OK/NEED_UNWRAP, 0/695 bytes ================ server unwrap: OK/NEED_TASK, 75/0 bytes running delegated task... new HandshakeStatus: NEED_UNWRAP ---- server wrap: OK/NEED_UNWRAP, 0/0 bytes ================ server unwrap: OK/NEED_UNWRAP, 6/0 bytes ---- server wrap: OK/NEED_UNWRAP, 0/0 bytes ================ server unwrap: OK/NEED_WRAP, 53/0 bytes ---- server wrap: OK/NEED_WRAP, 0/6 bytes ================ server unwrap: OK/NEED_WRAP, 0/0 bytes ---- server wrap: OK/FINISHED, 0/53 bytes ...ready for application data ================ server unwrap: OK/NOT_HANDSHAKING, 53/26 bytes ---- server wrap: OK/NOT_HANDSHAKING, 29/69 bytes ================ server unwrap: BUFFER_UNDERFLOW/NEED_WRAP, 0/0 bytes ---- server wrap: CLOSED/NEED_UNWRAP, 0/37 bytes ================ server unwrap: CLOSED/NOT_HANDSHAKING, 37/0 bytes ---- server wrap: CLOSED/NOT_HANDSHAKING, 0/0 bytes Testing SSLv3:false ================ ----------System.err:(18/1372)---------- javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.SSLEngineInputRecord.bytesInCompletePacket(java.base@9-ea/SSLEngineInputRecord.java:141) at sun.security.ssl.SSLEngineImpl.readNetRecord(java.base@9-ea/SSLEngineImpl.java:811) at sun.security.ssl.SSLEngineImpl.unwrap(java.base@9-ea/SSLEngineImpl.java:673) at javax.net.ssl.SSLEngine.unwrap(java.base@9-ea/SSLEngine.java:624) at SSLEngineBadBufferArrayAccess.runTest(SSLEngineBadBufferArrayAccess.java:259) at SSLEngineBadBufferArrayAccess.main(SSLEngineBadBufferArrayAccess.java:158) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

    JDK Bug System | 9 months ago | Amy Lu
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.SSLEngineInputRecord.bytesInCompletePacket(java.base@9-ea/SSLEngineInputRecord.java:141) at sun.security.ssl.SSLEngineImpl.readNetRecord(java.base@9-ea/SSLEngineImpl.java:811) at sun.security.ssl.SSLEngineImpl.unwrap(java.base@9-ea/SSLEngineImpl.java:673) at javax.net.ssl.SSLEngine.unwrap(java.base@9-ea/SSLEngine.java:624)

    Root Cause Analysis

    1. javax.net.ssl.SSLException

      Unrecognized SSL message, plaintext connection? at sun.security.ssl.SSLEngineInputRecord.bytesInCompletePacket(java.base@9-ea/SSLEngineInputRecord.java:141) at sun.security.ssl.SSLEngineImpl.readNetRecord(java.base@9-ea/SSLEngineImpl.java:811) at sun.security.ssl.SSLEngineImpl.unwrap(java.base@9-ea/SSLEngineImpl.java:673) at javax.net.ssl.SSLEngine.unwrap(java.base@9-ea/SSLEngine.java:624)

      at SSLEngineBadBufferArrayAccess.runTest()
    2. Unknown
      SSLEngineBadBufferArrayAccess.main
      1. SSLEngineBadBufferArrayAccess.runTest(SSLEngineBadBufferArrayAccess.java:259)
      2. SSLEngineBadBufferArrayAccess.main(SSLEngineBadBufferArrayAccess.java:158)
      2 frames