ModBot icon indicating copy to clipboard operation
ModBot copied to clipboard

Failed to update userlist, the userlist server might be down.

Open igodiz opened this issue 9 years ago • 5 comments

Hello Getting a lot of spam in my modbot window. Any possibility to fix this or do i just need to reinstall modbot?

https://gyazo.com/7c6dc6b0a341d6361ecf0145b3bbefd6

igodiz avatar Mar 15 '16 21:03 igodiz

getting this too it appears to be due to https://discuss.dev.twitch.tv/t/psa-chat-servers-are-going-to-migrate-to-aws-ec2-servers/4877/64

EasyAsABC123 avatar Mar 23 '16 02:03 EasyAsABC123

@EasyAsABC123 that is completely unrelated.

@igodiz That's an issue out of my control, occasionally the userlist server may fail to respond to requests, this is nothing major as usually it is fixed by the next request made by the bot, this message is nothing more than a warning.

DorCoMaNdO avatar Mar 23 '16 18:03 DorCoMaNdO

@DorCoMaNdO actually you are "right" it is unrelated and yet related. The API for userlist has changeed...you used to be able to call it like so:

http://tmi.twitch.tv/group/user/NDS_TaLoN/chatters

but if you call that now the result is

""

however calling: http://tmi.twitch.tv/group/user/nds_talon/chatters results in the correct behavior...so a .ToLower() is required for it to be fixed

EasyAsABC123 avatar Mar 23 '16 18:03 EasyAsABC123

The request is made via a lowercase version of the channel name, the issue is with the server, not how the bot makes the call, refresh the page enough times and you'll either end up with an empty json array or a "Service Unavailable" message.

DorCoMaNdO avatar Mar 23 '16 18:03 DorCoMaNdO

Sounds good then, I am aware of the 502 nginx error, when I slam the service I don't get empty json so far...

EasyAsABC123 avatar Mar 23 '16 18:03 EasyAsABC123