- Your bot might be getting the account banned for two hours (spam protection)
- Twitch might just be derping (Large migrations to AWS across several systems are creating a fairly unstable environment at this time. AWS for the long run should be a lot better, but the cutover has been painful.)
- Maybe your browser is blocking/otherwise timeout the connection (IE: ssl connections are particularly slow to be negotiated) - This seems less likely due to ‘Different channels at different times’ piece of information.
I’m leaning towards #2, but #1 is feasible!