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 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?
via Stack Overflow by TamasGyorfi
, 2 years ago
Unrecognized SSL message, plaintext connection?
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
, 2 months ago
Unrecognized SSL message, plaintext connection?
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:171)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:845)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.apache.kafka.common.network.SslTransportLayer.handshakeUnwrap(SslTransportLayer.java:408)
at org.apache.kafka.common.network.SslTransportLayer.handshake(SslTransportLayer.java:269)
at org.apache.kafka.common.network.KafkaChannel.prepare(KafkaChannel.java:68)
at kafka.network.Processor.run(SocketServer.scala:413)
at java.lang.Thread.run(Thread.java:722)

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.