Skip to content

chore: add error message for reconnect failure #2253

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

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Mar 28, 2025

ref #2252

@yash-atreya I believe what's happening here is that the reconnect is also failing, in the context of #2252 this seems to happen if "Connection reset by peer" == os error 104 usually, which could indidate that the socket is unavailable.

there could be a race condition on the remote that then righout rejects the new attempt.

I think it would be reasonable to introduce a retry + sleep mechanism on reconnect as well

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Mar 28, 2025
@yash-atreya yash-atreya merged commit cbdd411 into main Mar 28, 2025
27 checks passed
@yash-atreya yash-atreya deleted the matt/add-error-for-reconnect-failure branch March 28, 2025 12:09
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants