Discord.js bot hangs on client.login() (Node 22)
Posted by kauazinhx in general.
Hello, I'm hosting a Discord.js bot on Wispbyte. Environment: Node.js 22.23.1 discord.js v14 dotenv loaded correctly The bot starts correctly. Console shows: index.js starts DISCORD TOKEN = true CLIENT ID loaded GUILD ID loaded When calling: client.login(DISCORD TOKEN) the Promise never resolves or rejects. After 20 seconds it times out. I also tested: https://discord.com/api/v10/gateway Instead of receiving the Discord Gateway JSON, the request returns an HTML Cloudflare page. Could someone verify if this node/IP is blocked by Cloudflare or Discord? Node: FREE EU RO 32 Thank you.
Replies
tirito
https://wispbyte.com/kb/discord rate limits