Don t start
Posted by user_k8y112 in discord-bots.
Support Tag: 28cd577f Hello, I'm hosting a Discord bot (Node.js 22, discord.js v14) on the free plan. On startup, npm install completes normally and the token loads correctly, but client.login() hangs indefinitely — it never throws an error, never connects. I added a 20 second timeout in the code to confirm this, and it triggers every single time. The symptom is specifically: the WebSocket connection to the Discord Gateway (gateway.discord.gg) never establishes, while regular HTTPS traffic (npm install from the registry) works fine. This looks like the node's outbound IP might be blocked or heavily rate limited by Discord/Cloudflare's protection. Questions: Is this a known issue with specific IP ranges/nodes on the free plan? Could my server be moved to a different node with cleaner connectivity? Do paid plans use different/dedicated IPs that avoid this issue? Thanks!
Replies
user_c2rxiu
yep same thing im experiencing