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

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 Stack Overflow by Daz
, 2 months ago
via Stack Overflow by Abhijeet Ubale
, 1 year ago
Unrecognized SSL message, plaintext connection?
via Stack Overflow by Jefrey Valencia
, 1 month ago
Unrecognized SSL message, plaintext connection?
via Stack Overflow by vihar naik
, 6 months ago
Unrecognized SSL message, plaintext connection?
via kafka-users by Adam Kunicki, 1 year ago
via Apache's JIRA Issue Tracker by Keith Wall, 1 year ago
Unrecognized SSL message, plaintext connection?
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:156)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:868)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:245)
at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:280)
at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:410)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:119)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

60 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 2 months ago
5 times, 2 months ago
Once, 2 months ago
28 more bugmates

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