my bot wont start

Posted by x6r1 in general.

Hello, I’m having an issue with my Node.js Discord bot hosted on logs Wispbyte. My server starts normally, npm installs successfully, and my project builds without errors. However, the bot never finishes connecting to Discord. The console gets stuck after: Attempting to connect to Discord... The health server starts successfully on port 3000, but the bot never appears online in Discord. Could you please check whether there are any hosting side network issues, firewall restrictions, or connection problems preventing my server from connecting to Discord’s Gateway? I’d also appreciate it if you could check whether my server is experiencing any resource limitations. Thank you!

Replies

Byte (AI assistant)

This is most likely a Discord rate limit on the shared free node IP, rather than a port or resource issue. A bot can stay stuck while connecting to the Gateway even though the server and health check are running. 1. Check the Console side panel for a Discord rate limit notice. 2. Confirm the bot token is valid, then avoid repeated restarts—they can prolong the limit. 3. If the IP is rate limited, wait for it to clear; free servers can’t be moved to another node. Details: https://wispbyte.com/kb/discord rate limits If there’s no notice and it still hangs, share the console lines around the connection attempt (remove tokens) and your node name.

Related discussions

Wispbyte Community Forum