java.net.SocketException: Connection reset

JIRA | Gordon Mohr | 9 years ago
  1. 0

    Spawned from HERI-1292. Adapted from those comments: Certain kinds of failures-then-retries result in valid 'history' info from the previous attempt lingering in the CrawlURI -- causing us to issue a If-Modified-Since header, and get back a 304 (the file hasn't changed since the previous aborted-fetch). Example of the issue from one of the affected crawls: local-errors.log includes: 2007-10-09T18:36:33.378Z -3 412116 http://www.makezine.com/blog/archive/stop_motion7.gif EXXLRLRLRLRLRLRLREXL http://www.thenervousbreakdown.com/zoe_brock/ image/gif #04 2 20071009183632659+718 - http://www.myspace.com/symonds3 le:SocketException@HTTP java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.archive.io.RecordingInputStream.read(RecordingInputStream.java:114) at org.archive.io.RecordingInputStream.readFullyOrUntil(RecordingInputStream.java:203) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:523) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Note that the socket break occurred after headers read -- so 'history' headers could be saved. crawl.log includes minutes later: 2007-10-09T18:51:36.080Z 304 0 http://www.makezine.com/blog/archive/stop_motion7.gif EXXLRLRLRLRLRLRLREXL http://www.thenervousbreakdown.com/zoe_brock/ image/gif #02 2 20071009185136062+17 sha1:3I42H3S6NNFQ2MSVX7XZKYAYSCX5QBYJ http://www.myspace.com/symonds3 4t Note the unexpected 304 and '4t' (4 tries) annotation. This should be fixable by discarding history info on any unsuccessful fetch.

    JIRA | 9 years ago | Gordon Mohr
    java.net.SocketException: Connection reset
  2. 0

    Spawned from HERI-1292. Adapted from those comments: Certain kinds of failures-then-retries result in valid 'history' info from the previous attempt lingering in the CrawlURI -- causing us to issue a If-Modified-Since header, and get back a 304 (the file hasn't changed since the previous aborted-fetch). Example of the issue from one of the affected crawls: local-errors.log includes: 2007-10-09T18:36:33.378Z -3 412116 http://www.makezine.com/blog/archive/stop_motion7.gif EXXLRLRLRLRLRLRLREXL http://www.thenervousbreakdown.com/zoe_brock/ image/gif #04 2 20071009183632659+718 - http://www.myspace.com/symonds3 le:SocketException@HTTP java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.archive.io.RecordingInputStream.read(RecordingInputStream.java:114) at org.archive.io.RecordingInputStream.readFullyOrUntil(RecordingInputStream.java:203) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:523) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Note that the socket break occurred after headers read -- so 'history' headers could be saved. crawl.log includes minutes later: 2007-10-09T18:51:36.080Z 304 0 http://www.makezine.com/blog/archive/stop_motion7.gif EXXLRLRLRLRLRLRLREXL http://www.thenervousbreakdown.com/zoe_brock/ image/gif #02 2 20071009185136062+17 sha1:3I42H3S6NNFQ2MSVX7XZKYAYSCX5QBYJ http://www.myspace.com/symonds3 4t Note the unexpected 304 and '4t' (4 tries) annotation. This should be fixable by discarding history info on any unsuccessful fetch.

    JIRA | 9 years ago | Gordon Mohr
    java.net.SocketException: Connection reset
  3. 0

    Requests hang when using Hiveserver2 Thrift Java client

    Stack Overflow | 4 years ago | Daniel Koverman
    java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.SocketException: Connection reset
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failed in Hudson: webdriver-firefox-3-win #212

    Google Groups | 7 years ago | hudson
    org.tmatesoft.svn.core.SVNException: svn: Connection reset svn: REPORT request failed on '/svn/!svn/vcc/default'
  6. 0

    I assume that astyanax when calling to context just shutdown not closing the connection

    GitHub | 4 years ago | PavelTCo
    org.apache.thrift.transport.TTransportException: java.net.SocketException: Connection reset

  1. Andreas Häber 4 times, last 2 months ago
  2. sriharshakiran 1 times, last 7 months ago
14 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
    BufferedInputStream.read
    1. java.net.SocketInputStream.read(SocketInputStream.java:168)
    2. java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
    3. java.io.BufferedInputStream.read(BufferedInputStream.java:317)
    3 frames
  3. webarchive-commons
    RecordingInputStream.readFullyOrUntil
    1. org.archive.io.RecordingInputStream.read(RecordingInputStream.java:114)
    2. org.archive.io.RecordingInputStream.readFullyOrUntil(RecordingInputStream.java:203)
    2 frames
  4. org.archive.crawler
    ToeThread.run
    1. org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:523)
    2. org.archive.crawler.framework.Processor.process(Processor.java:112)
    3. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302)
    4. org.archive.crawler.framework.ToeThread.run(ToeThread.java:151)
    4 frames