Hey guys. Sorry if this was posted somewhere before, couldn't find it. I keep getting this issue with my bot, where after some time it goes into Connection terminated (4000, ''), reconnecting, then saying Session resumed, yet the bot still is not active, and it goes into the same stages again. Sometimes it gives the error -1. Restarting the docker image is fine, but it is annoying to do so. Is there anything I can do?
DSharpPlus, version 4.3.0-nightly-01189 .NET 6
#Connection Terminated, bot doesn't work even logs say session is resumed
1 messages · Page 1 of 1 (latest)
I forgot to mention, that I am hosting this bot on Raspberry Pi Zero 2W which is connected to the internet through WiFi and ethernet HAT
As long as its reconnects/resumes on its own, you can ignore it
The bot still stays offline though
ok thats not normal 😅
Did you check if you have the token to the correct application?
obv, when I restart the container it works fine again
so it goes offline at the first "Connection terminated" ?
No idea, usually I just notice that something is wrong at random when I see that the bot is offline. First I check if my raspi is still working and then check the logs. Usually it's this