javax.net.ssl.SSLException: Received fatal alert: unexpected_message

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

    Jersey error to connect to service using https on Java 6

    Stack Overflow | 9 months ago | Rodrigo Menezes
    javax.net.ssl.SSLException: Received fatal alert: unexpected_message
  2. 0

    Java Ssl Trustmanager

    wpthm.com | 2 years ago
    javax.net.ssl.SSLException: Received fatal alert: unexpected_message
  3. 0

    javax.net.ssl.SSLException: Received fatal alert: unexpected_message

    Oracle Community | 1 decade ago | 843811
    javax.net.ssl.SSLException: Received fatal alert: unexpected_message
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSLException unexpected_message on Thin Client and VM

    Oracle Community | 9 years ago | 843811
    javax.net.ssl.SSLException: Received fatal alert: unexpected_message
  6. 0

    db:: 2.94::javax.net.ssl.SSLException:Unrecognized SSL message, plaintext connection sd

    hivmr.com | 10 months ago
    javax.net.ssl.SSLException: Received fatal alert: unexpected_message

  1. rp 1 times, last 4 months ago
18 unregistered visitors
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

    Received fatal alert: unexpected_message

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
    2. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
    3. com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1682)
    4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:932)
    5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
    6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139)
    7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
    7 frames
  3. Java RT
    HttpsURLConnectionImpl.getOutputStream
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
    3. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:904)
    4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
    4 frames
  4. jersey-core-client
    HttpUrlConnector$3.getOutputStream
    1. org.glassfish.jersey.client.HttpUrlConnector$3.getOutputStream(HttpUrlConnector.java:312)
    1 frame
  5. Jersey Core
    OutboundMessageContext.commitStream
    1. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:200)
    2. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:194)
    3. org.glassfish.jersey.message.internal.CommittingOutputStream.commit(CommittingOutputStream.java:262)
    4. org.glassfish.jersey.message.internal.OutboundMessageContext.commitStream(OutboundMessageContext.java:812)
    4 frames
  6. jersey-core-client
    JerseyInvocation$2.call
    1. org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:543)
    2. org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:315)
    3. org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:227)
    4. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:225)
    5. org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:671)
    5 frames
  7. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
    4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:423)
    4 frames
  8. jersey-core-client
    JerseyInvocation$Builder.put
    1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:667)
    2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
    3. org.glassfish.jersey.client.JerseyInvocation$Builder.put(JerseyInvocation.java:311)
    3 frames
  9. com.oki.casi
    TesteLogin.main
    1. com.oki.casi.client.TesteLogin.testeLoginHttps(TesteLogin.java:79)
    2. com.oki.casi.client.TesteLogin.main(TesteLogin.java:58)
    2 frames