-
Notifications
You must be signed in to change notification settings - Fork 38
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
EventSub Websocket failing to reconnect #286
Comments
No, because that issue is talking about a network glitch on the client side, whereas this issue is coming from an problem with how the library is handling a |
ws_test.txt
Using the same repro file to test my fix that I'll open a PR for shortly |
https://dev.twitch.tv/docs/eventsub/handling-websocket-events/#reconnect-message When a session_reconnect message is received, the client should create a new connection to the reconnect url while leaving the existing connection open to receive messages until the new connection gets the welcome message. This way no events should be missed during the handoff. In my testing this fixes Teekeks#286 where the connection gets broken
For some people, EventSub Websocket seems to fail to reconnect from time to time.
Log:
The text was updated successfully, but these errors were encountered: