Philipp Nanz created HTTPCLIENT-2081:
----------------------------------------

             Summary: Intermittent Connection reset errors while talking to IBM 
COS
                 Key: HTTPCLIENT-2081
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2081
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient (classic)
    Affects Versions: 4.5.12
            Reporter: Philipp Nanz


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). Hemce, 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to