Project

General

Profile

Actions

Bug #7491

closed

[SDK] Go keepclient should retry on network errors

Added by Peter Amstutz about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
10/08/2015
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

Description

Keepproxy (which uses keepclient) is failing requests with the error "read tcp 10.26.0.7:25107: use of closed network connection". We have had similar errors in the past which were due to connection reuse in the Go http package. This has the side effect that if it tries to reuse a connection that's been closed, it will return an error instead of trying to reestablish a connection. The keepclient package should handle closed connection errors by retrying the request.


Subtasks 2 (0 open2 closed)

Task #7493: Review 7491-keepclient-bugsResolvedPeter Amstutz10/08/2015

Actions
Task #7545: Review 7491-go-keepclient-retryResolvedPeter Amstutz10/08/2015

Actions

Related issues 2 (0 open2 closed)

Related to Arvados - Bug #7492: [keepproxy] Report upstream server errors as 502 Bad Gateway instead of 404ResolvedRadhika Chippada10/14/2015

Actions
Copied to Arvados - Bug #7546: [SDK] Go keepclient should retry PUTs on network errorsResolvedRadhika Chippada10/14/2015

Actions
Actions

Also available in: Atom PDF