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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JDK Bug System by Amy Lu, 1 year ago
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)
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 undefined.SSLEngineBadBufferArrayAccess.runTest(SSLEngineBadBufferArrayAccess.java:259)
at undefined.SSLEngineBadBufferArrayAccess.main(SSLEngineBadBufferArrayAccess.java:158)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.