#Connection Terminated, bot doesn't work even logs say session is resumed

1 messages · Page 1 of 1 (latest)

velvet flare
#

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

#

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

hazy crest
#

As long as its reconnects/resumes on its own, you can ignore it

velvet flare
#

The bot still stays offline though

hazy crest
#

ok thats not normal 😅

#

Did you check if you have the token to the correct application?

velvet flare
#

obv, when I restart the container it works fine again

hazy crest
#

so it goes offline at the first "Connection terminated" ?

velvet flare
#

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