Discord Ban mega-thread the second! (Discord bot / Something took too long to do)

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).


Hey Cori!
My second reply on this thread:

1 Like

4 posts were merged into an existing topic: Project mem, and disk full

A post was split to a new topic: Discord Bot not active

Hey @Codingpro, that project was on a banned host which has since been recycled!

1 Like

Hey cori, 429er here.

Nevermind – all seems to be working again.

1 Like

one of my bots seems to be on a banned host, the project name is “atlas”

(node:863) UnhandledPromiseRejectionWarning: Error: Something took too long to do.

at timeout.client.setTimeout (/rbd/pnpm-volume/20ee7fcb-c9fa-44af-87eb-bf280cd39ecc/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:40:57)

at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/20ee7fcb-c9fa-44af-87eb-bf280cd39ecc/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/Client.js:436:7)

at ontimeout (timers.js:498:11)

at tryOnTimeout (timers.js:323:5)

at Timer.listOnTimeout (timers.js:290:5)

(node:863) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)

(node:863) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

How do I fix this? My bot does not want to connect, I already tested token and other things, but nothing solved.

Since earlier today one of my discord bots doesn’t seem to go online anymore (project name is atlas) while giving this error message in the console

Error: Something took too long to do.

7:40 PM

at timeout.client.setTimeout (/rbd/pnpm-volume/f3f68616-6138-4c89-ad88-f22fed730b2b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:40:57)

7:40 PM

at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/f3f68616-6138-4c89-ad88-f22fed730b2b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/Client.js:436:7)

7:40 PM

at ontimeout (timers.js:498:11)

7:40 PM

at tryOnTimeout (timers.js:323:5)

7:40 PM

at Timer.listOnTimeout (timers.js:290:5)

I already entered

curl -I https://discordapp.com/api/v7/gateway

and it gives me 429 as output.

Hey y’all we just retired a couple of banned hosts, so your bots should be looking better now. Sorry for the bother!


Project name: cmb, having the problem

Looks like one of my projects is on a banned host, I won’t post the project name here but if you need it I can DM it :slight_smile: @cori

I have the same problem in two of my projects:

• yuukidiscord
• filobot

Hey folks, we have a few banned hosts. They should be all recycled in a bit; sorry for the bother!

1 Like

one of my bots seems to be on a banned host, the project name is “Corwin ”


project discnitro just got banned again

Hey, I think my project nex-discord might be on a banned host again. It’s only working when hosted locally. Any help would be great thanks!

Hello everyone, I’m having the same issue in my project hytalemods (private)

Someone can help me?

Edit: Working again, thanks everyone.

Type curl -I https://discordapp.com/api/v7/gateway into the console to make sure it is banned, otherwise try regenerating your token and press copy.