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

retry on any transport error with a source #1135

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

JssDWt
Copy link
Contributor

@JssDWt JssDWt commented Dec 2, 2024

It appears many more error strings are seen than the ones specified in BROKEN_CONNECTION_STRINGS. Among others:
http2 error: connection error received: not a result of an error
connection error: connection aborted
error trying to connect: dns error: failed to lookup address information: No address associated with hostname
error trying to connect: tcp connect error: Software caused connection abort (os error 103)
error trying to connect: Software caused connection abort (os error 103)

It appears there's a vast amount of different errors that can occur in the situation where the grpc channel would repair itself. Therefore retry on any transport error.

@JssDWt JssDWt requested review from dangeross and roeierez December 2, 2024 08:50
Copy link
Member

@roeierez roeierez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JssDWt JssDWt merged commit ec42478 into main Dec 2, 2024
9 checks passed
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.

3 participants