java.net.SocketException: Connection reset

Stack Overflow | user2737800 | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    2 way TLS (1.2) between Java client and Apple pay server

    Stack Overflow | 7 months ago | user2737800
    java.net.SocketException: Connection reset
  2. 0

    Docusign Java Walkthrough

    Stack Overflow | 2 years ago | Pete
    java.net.SocketException: Connection reset
  3. 0

    Connection reset on Jersey with Java 7

    Stack Overflow | 3 months ago | Javeson Yehudi
    javax.ws.rs.ProcessingException: java.net.SocketException: Connection reset
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 11#18703299

    GitHub | 4 years ago | thefosk
    java.net.SocketException: Invalid argument
  6. 0
    samebug tip
    This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3

  1. mauritius 24 times, last 1 month ago
  2. r1chjames 1 times, last 5 months ago
  3. serious2monkeys 1 times, last 5 months ago
  4. rp 1 times, last 1 year ago
  5. Andreas Häber 1 times, last 6 days ago
22 more registered users
73 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.net.SocketException

    Connection reset

    at java.net.SocketInputStream.read()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.read(Unknown Source)
    2. java.net.SocketInputStream.read(Unknown Source)
    2 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.InputRecord.readFully(Unknown Source)
    2. sun.security.ssl.InputRecord.read(Unknown Source)
    3. sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    4. sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    5. sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    6. sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    6 frames
  4. Java RT
    HttpsURLConnectionImpl.getResponseCode
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    3. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    4. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    5. java.net.HttpURLConnection.getResponseCode(Unknown Source)
    6. sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    6 frames