-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b137
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8341740 | 8u441 | Nibedita Jena | P4 | Resolved | Fixed | b02 |
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)
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)
- backported by
-
JDK-8341740 SSLEngineBadBufferArrayAccess.java fails intermittently with Unrecognized SSL message
-
- Resolved
-
- relates to
-
JDK-8164534 sun/security/ssl/SSLEngineImpl/SSLEngineBadBufferArrayAccess.java timed out
-
- Closed
-