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:
9 Replies
- 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!I am using [email protected]. And the node version is node 22
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
just updated the node version to v22 and checked again, but still the same issue
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
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
Alright, I'll wait a bit to see if my ban gets lifted again, assuming that's the case.
could try making a simple script and running it outside docker
if it doesn't work either then it's a ban