-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Handling :tmi.twitch.tv NOTICE * :Login unsuccessful #404
Comments
Hello! Thanks for the issue. If this is a general help question, for a faster response consider joining the official Discord Server Else if you have an issue with the library please wait for someone to help you here. |
Notices are handled in master by dispatching to the event. Assuming this is start up since you mention Client.run() as well as not being a commands Bot. |
token is valid since it passes the HTTP validate test each time and also connects correctly sometimes (~ 10% of the attempts). Btw, this is a special NOTICE which is handled before the action selection: https://github.com/TwitchIO/TwitchIO/blob/master/twitchio/websocket.py#L349 |
So this wouldn't be related to master, it would be to all versions. Although I never have a 90%, fail rate and if it was that consistent for everyone they would have raised an issue by now. |
This only happens when Twitch itself is having server issues, so you have to try over and over and eventually it'll work. 90% is just my guesstimate. |
Okay that makes more sense, thanks. |
Wouldn't it be sufficient to just feed the app |
In this case it doesn't make sense to terminate the bot and restart. If the token has passed validation it makes more sense to allow a backoff to handle it until it can successfully resume. |
I have the same issue! |
I believe this could be related to the Summer Games Showcase event that started on June 8 and the Twitch services would have been overloaded causing connection issues. |
still get this sometimes |
So twitch is having another stroke and 90% of the connection attempts receive this IRC message.
But TwitchIO (latest master commit) fails to correctly handle it and the
Client.run()
method I'm using never returns or raises.Instead we get this from asyncio:
The text was updated successfully, but these errors were encountered: