Hey y’all our original mega-thread for Discord bans was getting a little long in the tooth, so here’s a new one.
If you’re encountering problems with your bot’s connection to the Discord API it may be because Discord has banned one or more of Glitch’s project host machines. To resolve this, Glitch will shut down that host and migrate all of its projects to new hosts. This problem is often accompanied by the message “Something took too long to do”.
To determine if your project is affected by this problem, you can open your project’s console and type
curl -I https://discordapp.com/api/v7/gateway. If you see something like
HTTP 429 in the response that means that your project is on a banned host.
If you believe your project’s host is banned, reply with your project name and Glitch staff will take a look.
I just wanted to clarify so everyone knows what to expect here.
We check for banned hosts several times a day, and retire any that we find as we find them as a matter of course. Posting in this thread will let us know that a host has been banned if we haven’t caught it, and we’ll get to migrating it as soon as we can, but we’ll typically only respond here when something out of the ordinary is going on (like when Discord bans a whole bunch of our hosts).