[
https://issues.apache.org/jira/browse/HTTPCLIENT-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115842#comment-17115842
]
Oleg Kalnichevski commented on HTTPCLIENT-2081:
-----------------------------------------------
{noformat}
http-outgoing-0 << "[read] I/O error: Read timed out"{noformat}
This is a side effect of the stale connection check which is essentially
nothing more than a very short read operation
{noformat}
http-outgoing-1 << "[read] I/O error: Connection reset"{noformat}
Based on the client log snippet I see no justification for the server's
resetting the connection.
Oleg
> 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
> Priority: Major
> Attachments: connection-reset.txt
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]