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

GitHub | johnlonganecker | 7 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

    TLS v1.0 is used by default in 3.6.x

    GitHub | 7 months ago | johnlonganecker
    javax.net.ssl.SSLException: Received fatal alert: protocol_version
  2. 0

    e-filesDownload: javax.net.ssl.SSLException: Received fatal alert: protocol_version

    GitHub | 2 years ago | jindrichmynarz
    files.eu.unifiedviews.dpu.DPUException: Exception occured while downloading files.
  3. 0

    GitHub comment 221#184258253

    GitHub | 1 year ago | pumpadump
    javax.net.ssl.SSLException: Received fatal alert: internal_error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jdk/test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java test fails with following errors: ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode with ECDSA client authentication** ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode** ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode with DSA client authentication** ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode with RSA client authentication** STDERR: javax.net.ssl.SSLException: Received fatal alert: unexpected_message at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) at java.io.OutputStream.write(OutputStream.java:75) at CipherTest$Client.sendRequest(CipherTest.java:378) at JSSEClient.runTest(JSSEClient.java:57) at CipherTest$Client.run(CipherTest.java:365) at java.lang.Thread.run(Thread.java:745) javax.net.ssl.SSLException: Error generating ECDH server key exchange at sun.security.ssl.Handshaker.throwSSLException(Handshaker.java:1344) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:902) at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:221) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:928) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at sun.security.ssl.AppInputStream.read(AppInputStream.java:71) at CipherTest$Server.handleRequest(CipherTest.java:77) at JSSEServer$1.run(JSSEServer.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.security.InvalidKeyException: No installed provider supports this key: sun.security.pkcs.PKCS8Key at java.security.Signature$Delegate.chooseProvider(Signature.java:1135) at java.security.Signature$Delegate.engineInitSign(Signature.java:1176) at java.security.Signature.initSign(Signature.java:527) at sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1032) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:898) The failure was observed on linux_2.6, but it may be irrelevant due to randomness nature of the failure. Full jtr log is attached.

    JDK Bug System | 8 months ago | Aleksej Efimov
    javax.net.ssl.SSLException: Received fatal alert: unexpected_message
  6. 0

    com.subgraph.vega.api.http.requests.RequestEngineException: Network problem while retrieving URI https://mydomain.com [Received fatal alert: internal_error]

    Google Groups | 11 months ago | Lotus
    com.subgraph.vega.api.http.requests.RequestEngineException: Network problem while retrieving URI https://mydomain.com [Received fatal alert: internal_error]

  1. Andreas Häber 6 times, last 3 months ago
15 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: protocol_version

    at sun.security.ssl.Alerts.getSSLException()
  2. Java JSSE
    AppOutputStream.write
    1. sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    2. sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    3. sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)
    4. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)
    5. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    6. sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)
    7. sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
    7 frames
  3. Java RT
    DataOutputStream.flush
    1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    2. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    3. java.io.DataOutputStream.flush(DataOutputStream.java:123)
    3 frames
  4. RabbitMQ Java Client
    ConnectionFactory.newConnection
    1. com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(SocketFrameHandler.java:129)
    2. com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(SocketFrameHandler.java:134)
    3. com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:277)
    4. com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:813)
    5. com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:767)
    6. com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:857)
    6 frames
  5. com.rabbitmq.examples
    PerfTest.main
    1. com.rabbitmq.examples.perf.MulticastSet.run(MulticastSet.java:63)
    2. com.rabbitmq.examples.PerfTest.main(PerfTest.java:117)
    2 frames