java.net.SocketException: Connection reset

Stack Overflow | Irios | 1 month 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
    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
  2. 0

    java.net.SocketException: Invalid argument seen on Mac osx JDK7

    Stack Overflow | 4 years ago | user2616676
    java.net.SocketException: Invalid argument
  3. 0

    Connection reset when using ActiveMQ 5.9 libraries

    activemq-users | 3 years ago | mohammedlateefhssn
    java.net.SocketException: Connection reset
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection reset when using proxy

    Stack Overflow | 2 years ago | Ajayc
    java.net.SocketException: Connection reset
  6. 0

    [data.cityofnewyork.us/dvnq-fhaa] Question about "DOB Violations"

    GitHub | 2 months ago | MarimuthuMylsamy
    java.net.SocketException: Connection reset

  1. r1chjames 1 times, last 3 months ago
  2. serious2monkeys 1 times, last 4 months ago
  3. rp 1 times, last 12 months ago
  4. johnxfly 1 times, last 1 week ago
  5. gamebusterz 2 times, last 2 weeks 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(SocketInputStream.java:209)
    2. java.net.SocketInputStream.read(SocketInputStream.java:141)
    2 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
    2. sun.security.ssl.InputRecord.read(InputRecord.java:503)
    3. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
    4. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    5. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    6 frames
  4. Java RT
    HttpsURLConnectionImpl.getInputStream
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    3. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
    4. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    5. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    5 frames
  5. com.microsoft.aad
    AuthenticationContext$1.call
    1. com.microsoft.aad.adal4j.HttpHelper.readResponseFromConnection(HttpHelper.java:71)
    2. com.microsoft.aad.adal4j.HttpHelper.getResponse(HttpHelper.java:175)
    3. com.microsoft.aad.adal4j.HttpHelper.executeGetRequest(HttpHelper.java:149)
    4. com.microsoft.aad.adal4j.HttpHelper.executeHttpGet(HttpHelper.java:50)
    5. com.microsoft.aad.adal4j.HttpHelper.executeHttpGet(HttpHelper.java:42)
    6. com.microsoft.aad.adal4j.MexParser.getWsTrustEndpointFromMexEndpoint(MexParser.java:105)
    7. com.microsoft.aad.adal4j.WSTrustRequest.execute(WSTrustRequest.java:53)
    8. com.microsoft.aad.adal4j.AuthenticationContext.processPasswordGrant(AuthenticationContext.java:841)
    9. com.microsoft.aad.adal4j.AuthenticationContext.access$000(AuthenticationContext.java:66)
    10. com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:173)
    11. com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:163)
    11 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames