-
Couldn't load subscription status.
- Fork 108
Retry when there's an EOF error while uploading tile #298
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
Conversation
- Update other dependencies [#160181845] Signed-off-by: Lyle Franklin <[email protected]>
- Allows us to reuse an object that has been dependency injected when we do retries in upload product service for instance. [#160181845] Signed-off-by: Genevieve Lesperance <[email protected]>
- Otherwise we wrap it in a generic error type and can't detect if it's something like io.EOF [#160181845] Signed-off-by: Lyle Franklin <[email protected]>
[#160181845] Signed-off-by: Genevieve Lesperance <[email protected]>
- Something is closing the request body multiple times but having trouble finding it, just going to guard against it for now [#160181845]
[#160181845]
[#160181845]
[#160181845] pivotal-cf/om #240: Intermittent `POST .../api/v0/available_products: EOF` when uploading tile
[#160181845] pivotal-cf/om #240: Intermittent `POST .../api/v0/available_products: EOF` when uploading tile
[#160181845] Signed-off-by: Genevieve Lesperance <[email protected]>
- The upload handler required access to the server that the handler belongs to. Added a channel to prevent trying to close the client connections before the server had been initialized [#160181845] Signed-off-by: Genevieve Lesperance <[email protected]>
|
@genevieve and @ljfranklin, I thought that this had been solved already a few months back. Are you all experiencing it again? If so, does this resolve the error for you in your pipeline? |
|
@jtarchie no, our initial pass a while ago didn't help resolve the issue. More context here: #240 (comment). We haven't got a chance to put any mileage on this in our CI yet, but we were able to reproduce the error with an acceptance test included in the PR. |
[#160181845] pivotal-cf/om #240: Intermittent `POST .../api/v0/available_products: EOF` when uploading tile
|
Just pushed one last commit to add the same retry logic to Some additional notes:
|
I wanted to add that a while back but keeping forget... Nice work! But meanwhile it seems still worth to investigate supproting resumable upload. Adding something like this into OpsManager and om would probably better solve the problem than retrying uploading the complete payload several times. |
|
@fredwangwang @jtarchie could y'all give this a look when you get a chance? I agree resumable uploads would be great but getting the OpsMgr nginx config updated and backported to all supported versions seems like a tall order at this time. |
|
@genevieve @ljfranklin we merged this in, can y'all let us know if you continue to have any problems with this moving forward? thank you! |
Fixes #240
cc @ljfranklin