Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2081

Intermittent Connection reset errors while talking to IBM COS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 4.5.12
    • None
    • HttpClient (classic)
    • None

    Description

      Hi there,

      we are currently using HttpClient for downloading blobs off IBM COS, which is basically a S3-like cloud storage.

      Sometimes we are seeing that HttpClient is giving up with "connection reset" errors after doing its retries.

      A quick Jira search showed that there were similar issues reported recently, but not investigated further (HTTPCLIENT-1954, HTTPCLIENT-2049).

      I have attached a log file including the full wire protocol.

      There is a couple of things that seems fishy: first of all, there is a read timeout being reported after 3 ms or so. On the subsequent retries, I suspect that the same connection is being reused and hence the peer sends the RST packets. But that is just my wild speculation, because I cannot read much from these logs.

      Since this is happening only ocassionally, I'm guessing at a timing related issue. Hence, my next step is to tweak the retry handler in a way that it waits for a small amount of time. I will report back my findings.

      If there is anything else you need, please let me know. I will be happy to provide anything that is necessary to further invbestigate this issue.

      Attachments

        1. connection-reset.txt
          11 kB
          Philipp Nanz

        Activity

          People

            Unassigned Unassigned
            philippn Philipp Nanz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: