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:
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/2015Actions
Task #7545: Review 7491-go-keepclient-retryResolvedPeter Amstutz10/08/2015Actions

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/2015Actions
Copied to Arvados - Bug #7546: [SDK] Go keepclient should retry PUTs on network errorsResolvedRadhika Chippada10/14/2015Actions
Actions

Also available in: Atom PDF