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

Return error on stream error for retry #565

Merged
merged 3 commits into from
Aug 13, 2023

Conversation

tomwardill-payoneer
Copy link
Contributor

handleEvent was handling the an error type by printing something, but then not continuing to raise the error.

This means that in a stream error, particuarly of type INTERNAL_ERROR, the backoff/retry mechanism never took place as the return was nil and the agent just stopped.

The problem is particularly relevant with Google Load Balancers and their handling of http2/websocket long lived connections: golang/go#51323

@leg100
Copy link
Owner

leg100 commented Aug 11, 2023

Thanks. The tests are failing because contributors don't have access to all the CI/CD secrets. I'll get that sorted and re-invoke the tests shortly.

@leg100 leg100 merged commit 4c2c130 into leg100:master Aug 13, 2023
5 checks passed
@leg100
Copy link
Owner

leg100 commented Aug 13, 2023

I made a small change to ensure the agent exits cleanly and to ensure the integration test, TestIntegration_RunCancel, passes.

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

Successfully merging this pull request may close these issues.

2 participants