If this is a issue you have observed in the last day. Then there has been some “fun” with connections in some places to chat.
Secondly is this in reference to a chat bot you have built?
This is a the third party developer forums and we cannot really help with general chat connectivity issues for the Twitch website, that would be https://help.twitch.tv/
Thirdly the likely issue is more your connection to Twitch via your ISP not the Twitch website iself