java.net.SocketException: Connection reset

Stack Overflow | theMadKing | 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

    Mini-Webserver-Mock: java.net.SocketException: Connection reset

    Stack Overflow | 5 years ago | Thomas Uhrig
    java.net.SocketException: Connection reset
  2. 0

    java.net.SocketException: Connection reset while reading from a stream

    Stack Overflow | 5 years ago | Khafaga
    java.net.SocketException: Connection reset
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Struts2 & Tiles: When apache.org is down my webapp fails to start

    Stack Overflow | 6 years ago | murdoch
    java.lang.IllegalStateException: Unable to instantiate container.
  5. 0

    java.net.SocketException: Connection reset. Servlet is not able to read InputStream

    Stack Overflow | 4 years ago | user1852866
    java.net.SocketException: Connection reset

  1. regisso 1 times, last 7 months ago
6 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
    HttpURLConnection.getInputStream
    1. java.net.SocketInputStream.read(SocketInputStream.java:209)
    2. java.net.SocketInputStream.read(SocketInputStream.java:141)
    3. java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    4. java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
    5. java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    6. sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
    7. sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
    8. sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:789)
    9. sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
    10. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
    11. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    11 frames
  3. scalaj.http
    HttpRequest.asString
    1. scalaj.http.HttpRequest.exec(Http.scala:349)
    2. scalaj.http.HttpRequest.execute(Http.scala:322)
    3. scalaj.http.HttpRequest.asString(Http.scala:537)
    3 frames
  4. com.capitalone.streamingExample
    streaming$$anonfun$createStream$1$$anonfun$apply$1.apply
    1. com.capitalone.streamingExample.streaming$.com$capitalone$streamingExample$streaming$$elasticPost$1(streaming.scala:83)
    2. com.capitalone.streamingExample.streaming$$anonfun$createStream$1$$anonfun$apply$1.apply(streaming.scala:62)
    3. com.capitalone.streamingExample.streaming$$anonfun$createStream$1$$anonfun$apply$1.apply(streaming.scala:59)
    3 frames
  5. Scala
    Iterator$class.foreach
    1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
    1 frame
  6. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.util.NextIterator.foreach(NextIterator.scala:21)
    2. org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912)
    3. org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912)
    4. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
    5. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
    6. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
    7. org.apache.spark.scheduler.Task.run(Task.scala:89)
    8. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
    8 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames