UND_ERR_CONNECT_TIMEOUT
I am getting this error, my bot was working fine a week ago when I was working on it.
Even when I remove all my code and just run this, I get this error.
Obviously my token is my actual token (thought the problem had something to do with my dotenv so then tried config file and just putting my token in index.js, nothing fixed it)
Also found this github issue which looks like mine, but should've been resloved about a year ago: https://github.com/discordjs/discord.js/issues/8489
GitHub
Random connection errors · Issue #8489 · discordjs/discord.js
Which package is this bug report for? discord.js Issue description Random connection errors especially when using slash commands. I'm 100% sure my connection is strong enough. The error is give...
3 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!
- ✅
Marked as resolved by OPSounds like a network/firewall issue
yeah I'll mark it as resolved, if I don't run it on WSL it worked