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

coderanch.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    sending automatic javamail from a website using java mail API

    Stack Overflow | 3 years ago | user3349720
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  2. 0

    sending automatic javamail from a website using java mail API

    Coderanch | 3 years ago | sunaina agarwal
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    sending automatic javamail from a website using java mail API [Solved] (Java in General forum at Coderanch)

    coderanch.com | 6 months ago
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  5. 0

    java.net.SocketException: Software caused connection abort: recv failed java mail

    Stack Overflow | 4 years ago | Nikki Kononov
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.net.ssl.SSLException

    Unrecognized SSL message, plaintext connection?

    at sun.security.ssl.InputRecord.handleUnknownRecord()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:671)
    2. sun.security.ssl.InputRecord.read(InputRecord.java:504)
    3. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
    4. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
    5. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
    6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
    6 frames
  3. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:532)
    2. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:337)
    3. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:229)
    4. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1950)
    5. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1986)
    6. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:656)
    6 frames
  4. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:345)
    1 frame
  5. com.affiliate.DTO
    ConfirmationMail.sendMail
    1. com.affiliate.DTO.ConfirmationMail.sendMail(ConfirmationMail.java:55)
    1 frame