Discord Bot fails to connect to gateway.discord.gg / ClientReady never executes
Posted by user_digrqu in discord-bots.
Hi, I have a Node.js Discord bot that fails to connect from my server. The bot loads the files correctly but never reaches the event. I’ve tested it using a minimal script that only uses: const client = new Client({ intents: [GatewayIntentBits.Guilds] }); client.login(DISCORD TOKEN); It works correctly on my local PC: Shard 0 ready ClientReady successful Bot connected successfully On your node FREE EU RO 23, the diagnostic stops at: "Attempting to connect to gateway.discord.gg..." "DIAGNOSTIC FAILED: no Ready event after 45 seconds." No , , or errors appear. Could you check if node FREE EU RO 23 allows outbound WebSocket connections to: wss://gateway.discord.gg The token and code have been verified locally and are working. here is my support tag 3f50a4b1 The photo is in Spanish, but that's fine. Just translate it.