ccppoo
November 17, 2019, 5:46am
1
I saw some several topics about this issue
like : [IRC] Twitch Chatbot Disconnection Issues - #3 by ankhheart
My bot immediately send back pong after receiving PING from twitch IRC channel
But the connections are closed by remote host(IRC)
I usually connect IRC 10 at maximum and don’t send commands or normal messages by bot
I’m asking because I see no rules in documentation when the IRC is disconnected
and there are no answer from twitch staff
only I see is
Re-Connecting to Twitch IRC
To re-connect to Twitch, follow the same process. Best practice suggests trying again with exponential backoff (immediate, 1s, 2s, 4s, 8s, …).
is reconnecting to channels is the only way to solve this problem?
What do you mean “connect IRC 10”?
without seeing some of your code can’t know for sure
odds are if theres your not getting messages on certain channels that often the s.recv is waiting for data so it never gets to your ping pong responses
You can ping your self on a thread and that could keep u connected
ccppoo
November 17, 2019, 10:42pm
4
JOIN (Channel id)# in IRC (socket connection)
it seems this isn’t the problem IRC is just a multicast and it doesn’t really a burdensome to IRC server
This sentence makes no sense. Can you elaborate?
system
Closed
December 18, 2019, 2:39am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.