Bot Disconnects From Discord

Hey Guys 🙋‍♂️ I am currently experiencing that my bot randomly disconnects from Discord (Offline and not responding) but there is no crash or error in console and still running. I just want to know if that’s somehow a known issue or what can be the reason for that :)
12 Replies
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Jonah
JonahOP•3y ago
* The bot is currently on ~21k Guilds and is using the package discord-hybrid-sharding since a couple of months but this issue happens since around 2 weeks every few days.
</> Idris
</> Idris•3y ago
GitHub
fix(WebSocketShard): Zombie connection fix by legendhimself · Pull ...
Fixes #8486, fixes #8984 and supersedes #8981 Fix backport #7626 missing changes Reverted the pull request #8956 Removed unref of wsCloseTimeout We are resuming the connection for zombie instead o...
</> Idris
</> Idris•3y ago
will be fixed in the next release currently available in dev version
Jonah
JonahOP•3y ago
Sounds great :) I have found out that my server is going offline for a short time and that this is causing the issue. Will this still fix it?
</> Idris
</> Idris•3y ago
don’t know
Elitex | Not well
Elitex | Not well•3y ago
same goes with me rn I have aut=restart setup, which checks for disconnection I got this from debugging
Elitex | Not well
Elitex | Not well•3y ago
Elitex | Not well
Elitex | Not well•3y ago
GitHub
Bot randomly exiting process or going offline/unresponsive · Issue ...
Which package is this bug report for? discord.js Issue description After around 5-6 hours of running, my discord bot decides to randomly exit with an exit code of 0. There is nothing in my code tha...
Elitex | Not well
Elitex | Not well•3y ago
hm
duck
duck•3y ago
this seems to be a separate issue, and furthermore it successfully reconnects but even so, the fix for the above issue has been released consider updating to 14.8.0
Elitex | Not well
Elitex | Not well•3y ago
Today, I updated to 14.8.0 lets see if this fix problem for me

Did you find this page helpful?