Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 store, retry policy #1237

Closed
rbvermaa opened this issue Feb 16, 2017 · 1 comment
Closed

S3 store, retry policy #1237

rbvermaa opened this issue Feb 16, 2017 · 1 comment

Comments

@rbvermaa
Copy link
Member

While uploading some store paths to S3 with nix 1.12 pre-release, I got the following error:

error: AWS error fetching ‘nar/0pnvk2wyap9pdclvb8fw8sb3hshazbvr05hxx42rdslbzqdi1lcp.nar.xz’: No response body.  Response code: 500

Would it be possible to implement a retry strategy for S3 API calls, as AWS suggest as workaround for such errors?

edolstra added a commit to edolstra/aws-sdk-cpp that referenced this issue Feb 21, 2017
We observed this with some S3 requests
(NixOS/nix#1237), that is, S3 returned a 500
response without a proper exception in the response body. It seems
appropriate to retry such errors.
@edolstra
Copy link
Member

I've submitted a PR to aws-sdk-cpp that fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants