Comments (3)
ws_test.txt
I've created a test file to reproduce this issue. With this file I saw the issue in the logs here:
2024-05-28 10:31:20,607 DEBUG twitchAPI.eventsub.websocket got session keep alive
2024-05-28 10:31:30,606 DEBUG twitchAPI.eventsub.websocket got session keep alive
2024-05-28 10:31:36,593 DEBUG twitchAPI.eventsub.websocket got request from websocket to reconnect
2024-05-28 10:31:36,594 DEBUG twitchAPI.eventsub.websocket reconnecting using wss://cell-a.eventsub.wss.twitch.tv/ws?challenge=f522781c-154f-4988-8098-a278919d332c&id=AgoQgTr-_hg5ST6DQGlKRLFU6BIGY2VsbC1h...
2024-05-28 10:31:36,632 DEBUG twitchAPI.eventsub.websocket websocket is closing
2024-05-28 10:31:36,740 INFO twitchAPI.eventsub.websocket Websocket closing: 4007 - Invalid reconnect
2024-05-28 10:58:44,100 DEBUG twitchAPI.eventsub.websocket stopping websocket EventSub...
Using the same repro file to test my fix that I'll open a PR for shortly
from pytwitchapi.
@Teekeks Do you think this will fix #291
from pytwitchapi.
Do you think this will fix #291
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 session_reconnect
message from Twitch.
from pytwitchapi.
Related Issues (20)
- EventSub stop() RuntimeError difference between Webhook and Websocket HOT 1
- Add Device Code Flow
- Implement Conduit support
- Keepalive missed / reconnecting HOT 4
- Home Assistant issue with get_channel_followers HOT 6
- Add "Channel Chat Settings Update" topic
- Add new Endpoint "Get User Emotes"
- Add new Unban Requests related topics
- Add new Automod related topics
- create_clip throws an exception when passed a stream that doesn't allow clipping
- New Endpoint: Channel Points Automatic Reward Add
- Add new VIP related topics
- Add new topic "User Whisper Message"
- Update Get User Emotes Endpoint to reflect API changes
- Expand supported EventSub status messages on related Endpoints HOT 2
- Add new Suspicious User related topics
- EventSub Not Registering subscriptions with Twitch API HOT 1
- Missing/differing fields from API in SearchChannelResult and ChannelInformation HOT 1
- Internal error while parsing EventSub Prediction event HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytwitchapi.