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

Catch all connection failures and reconnect #1760

Merged
merged 3 commits into from
Apr 12, 2021

Conversation

pm47
Copy link
Member

@pm47 pm47 commented Apr 9, 2021

The ReconnectionTask was only catching
ConnectionResult.Failure.ConnectionFailed, which is a subset of
possible failures. It should instead have caught
ConnectionResult.Failure.

All authentication and initialization failures were not caught and
didn't trigger reconnections.

Fixes #1748.

The `ReconnectionTask` was only catching
`ConnectionResult.Failure.ConnectionFailed`, which is a subset of
possible failures. It should instead have caught
`ConnectionResult.Failure`.

All authentication and initialization failures were not caught and
didn't trigger reconnections.
@pm47 pm47 requested a review from t-bast April 9, 2021 15:43
Co-authored-by: Bastien Teinturier <[email protected]>
@pm47 pm47 merged commit 357f7f9 into master Apr 12, 2021
@pm47 pm47 deleted the reconnection-failures-catch-all branch April 12, 2021 16:49
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.

Automatic reconnection still not 100% reliable
2 participants