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

terminate loop and attempt to reconnect if error reading websocket #86

Merged
merged 9 commits into from
May 10, 2024

Conversation

heckj
Copy link
Collaborator

@heckj heckj commented May 10, 2024

resolves (or changes) #83

When wifi is unavailable, we get an error reading the websocket, but currently fail to terminate the loop and initiate a reconnect. This adds in the termination of the loop (peer=false, and attempts to cancel() the webSocket for good measure), which should force us into the backoff/retry loop

@heckj heckj self-assigned this May 10, 2024
@heckj heckj linked an issue May 10, 2024 that may be closed by this pull request
@heckj heckj merged commit 709fe74 into main May 10, 2024
1 check passed
@heckj heckj deleted the issue-83 branch May 10, 2024 22:27
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.

Infinite WEBSOCKET: Error reading websocket scenarios
1 participant