Issue with bot connect to gateway through docker network

Hi there, since my last check, I've encountered an issue for the first time today: my bots—each running as a Docker container on a dedicated Docker network (configured with the bridge driver and not marked as internal)—can no longer connect to the gateway. Have there been any changes on your end that might be causing this, or is it a Discord-related problem? The debug logs are:
Debug: Provided token: **************************************.******.**************************************
Debug: Preparing to connect to the gateway...
Debug: Provided token: **************************************.******.**************************************
Debug: Preparing to connect to the gateway...
9 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
muckmuck96
muckmuck96OP2mo ago
I am using [email protected]. And the node version is node 22
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
muckmuck96
muckmuck96OP2mo ago
just updated the node version to v22 and checked again, but still the same issue
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
muckmuck96
muckmuck96OP2mo ago
it is running on my own machine, without any problems already thought about that as well, but I would expect any error in that case
d.js docs
d.js docs2mo ago
:discord: Rate Limits - Invalid Request Limit aka Cloudflare bans read more
muckmuck96
muckmuck96OP2mo ago
Alright, I'll wait a bit to see if my ban gets lifted again, assuming that's the case.
Amgelo
Amgelo2mo ago
could try making a simple script and running it outside docker if it doesn't work either then it's a ban

Did you find this page helpful?