Discord bot having trouble connecting from a glitch hosted server

Code was working fine last night and has been for quite some time, I’m certain it is not code related. No errors on my end, the bot just hangs after logging in to the Discord API and the on ready event never fires. I saw some posts here saying that some of glitch’s IPs were banned by Discord and suspect that might be the problem.

@cori I noticed you were the one dealing with this issue in some other threads, do you have any insight? I would really appreciate any help that anyone can provide!

Edit: just tried running curl -I https://discordapp.com/api/v7/gateway and did indeed get the 429 too many request result.

Edit 2: I have no idea why this was marked as fixed, it most certainly is not at all fixed.

Hey @edje,

If you’re project is receiving 429 Too Many Requests error, please report your project name in this thread: Discord Ban mega-thread the second! (Discord bot / Something took too long to do)

Hope that helps!

1 Like