Hello, I am making a twitch plays bot for a game and have 10k channels for now to join. I have tested the bot in 1000 channels for a few days no problems. Now I upped it to 10k channels (the bot doesn’t send any messages only listens) and the socket will force close randomly.
2020-01-08,12:55:03,ERROR: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
Its nothing to do with pings/pongs I have that taken care of.
I did find this topic here that talks about the send buffer that twitch sends being too big maybe? : Limits on irc channels join?
This seems to be the issue in my mind and how would you got about solving this?
right now my bot its just running under a anonymous justinfan##### from a single IP.
Could I run lets say 1 justinfan#### per 1000 channels?
like justinfan1 joins first 1000 channels
justinfan2 joins second 1000 channels etc…
all from the same IP? Or would each justinfan## have to have a different IP?
But lets say I don’t want to use the justinfan## account anymore and lets say my account is called james.
can I log into james via irc 10 times so there’s one james in each 1000 different channels? or would I need a new account for each 1000 channels like james1,james2,james3 etc?
There’s nothing in the docs that mention this send buffer from twitch or IP limits per users that I could find other than some threads here and there.
Any input is appreciated