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 coderanch.com by Unknown author, 1 year ago
via coderanch.com by Unknown author, 1 year ago
via Stack Overflow by user3349720
, 2 years ago
Unrecognized SSL message, plaintext connection?
via GitHub by XuCcc
, 3 months ago
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; message exception details (1) are: logs/./catalina.out-Failed message 1: logs
via Stack Overflow by Rushikesh Khamborkar
, 1 year ago
Unrecognized SSL message, plaintext connection?
via wordpress.com by Unknown author, 1 year ago
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:671)
at sun.security.ssl.InputRecord.read(InputRecord.java:504)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:532)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:337)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:229)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1950)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1986)
at javax.mail.Service.connect(Service.java:345)
at com.affiliate.DTO.ConfirmationMail.sendMail(ConfirmationMail.java:55)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
88 more bugmates

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