javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

JDK Bug System | Felix Yang | 8 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

    separated from JDK-8134291. Please refer to the test output: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1022) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:949) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1356) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:719) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:81) at SSLSessionNulls.doClientSide(SSLSessionNulls.java:134) at SSLSessionNulls.startClient(SSLSessionNulls.java:287) at SSLSessionNulls.<init>(SSLSessionNulls.java:214) at SSLSessionNulls.main(SSLSessionNulls.java:200) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:519) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:746) Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:156) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:995) ... 15 more

    JDK Bug System | 8 months ago | Felix Yang
    javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
  2. 0

    java.io.EOFException: SSL peer shut down incorrectly

    Stack Overflow | 2 years ago | Sachin Kumar
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  3. 0

    IBM Login to IUCD admin page fails to display the login screen - United States

    ibm.com | 11 months ago
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSL request fails from Soap UI, works with fiddler proxy

    Stack Overflow | 2 years ago | formatc
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  6. 0

    SSL connection failing for Java 7

    Stack Overflow | 4 years ago | twizansk
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

  1. abrazeneb 6 times, last 8 months ago
26 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. java.io.EOFException

    SSL peer shut down incorrectly

    at sun.security.ssl.SSLSocketInputRecord.decode()
  2. Java JSSE
    AppOutputStream.write
    1. sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:156)
    2. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:995)
    3. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:949)
    4. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1356)
    5. sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:719)
    6. sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67)
    7. sun.security.ssl.AppOutputStream.write(AppOutputStream.java:81)
    7 frames
  3. Unknown
    SSLSessionNulls.main
    1. SSLSessionNulls.doClientSide(SSLSessionNulls.java:134)
    2. SSLSessionNulls.startClient(SSLSessionNulls.java:287)
    3. SSLSessionNulls.<init>(SSLSessionNulls.java:214)
    4. SSLSessionNulls.main(SSLSessionNulls.java:200)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:519)
    4 frames
  5. com.sun.javatest
    MainWrapper$MainThread.run
    1. com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:746)
    1 frame