javax.net.ssl.SSLException: Unrecognized SSL message, plaintext > connection? > at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710) > ~[na:1.8.0_91] > at sun.security.ssl.InputRecord.read(InputRecord.java:527) ~[na:1.8.0_91] > at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) > ~[na:1.8.0_91] > at > sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) > ~[na:1.8.0_91] > at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) > ~[na:1.8.0_91] > at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) > ~[na:1.8.0_91] > at > com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:549)

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 GitHub by agapple
, 1 year ago
Unrecognized SSL message, plaintext > connection? > at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710) > ~[na:1.8.0_91] > at sun.security.ssl.InputRecord.read(InputRecord.java:527) ~[na:1.8.0_91] > at
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext > connection? > at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710) > ~[na:1.8.0_91] > at sun.security.ssl.InputRecord.read(InputRecord.java:527) ~[na:1.8.0_91] > at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) > ~[na:1.8.0_91] > at > sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) > ~[na:1.8.0_91] > at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) > ~[na:1.8.0_91] > at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) > ~[na:1.8.0_91] > at > com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:549)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:354)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:211)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)

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.