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

My bot is timing out before being able to be connect, and google has referred me to this page - perhaps it was banned?

Could you please check for me? https://wow-finder.glitch.me/

Why does Discord ban so many bots, and why are glitch staff recycling them to new hosts?

(Questions, always with the questions …)

1 Like

From what I heard, It has something to do with people either abusing the discord api or sending to many requests, discord then blocks the host from interacting with the api, which stops all projects on that same host from interacting with discord.

3 Likes

What Discord has told us is that they start out by rejecting a specific token’s requests, and if that bot doesn’t stop abusing the Discord API then they automatically escalate it to banning the whole IP address - essentially a handful of bots are misbehaving and are causing headaches for everyone but there’s no distinct pattern or specific bots that are causing the issue that we’ve been able to ascertain, and Discord’s not very forthcoming about it and aren’t willing to revisit their automated blocking.

When this happens we recycle the host so that the non-abusive bots can still communicate with Discord.

2 Likes

I wanted to change this project IP - https://flechaa-snipe.glitch.me
How can I do that?

1 Like

That’s something that Glitch staff has to take care of for you. I’m happy to do so, but just to make sure we’re addressing the right problem can you tell me why you want to change your project’s IP?

1 Like

Because the IP was banned from Discord.

1 Like

@Flechaa we don’t have any banned hosts right now, and your project also doesn’t appear to be banned:

app@flechaa-snipe:~ 18:58 
$ curl -I https://discordapp.com/api/v7/gateway
HTTP/1.1 200 OK

If you’re still seeing problems, they’re not ones that will be fixed by a new IP address.

1 Like

Ohh, alright. Thanks

1 Like

can u help me ; My project name : asuna-trbot
Thanks …

Hey @Kyoya I don’t believe you project is on a banned host. What problem are you having?

1 Like

I’m getting a something took too long to do error: Project name “nitro-points”

Hey @cori help me pls, I have this log: Error: Something took too long to do. Project Name: desink-test

This is very common if you have no watch.json in your files…

This is a watch.json you might be able to use:

{
  "install": {
    "include": [
      "^package\\.json$",
      "^\\.env$"
    ]
  },
  "restart": {
    "exclude": [
      "^public/",
      "^dist/"
    ],
    "include": [
      "\\.js$",
      "\\.json$"
    ]
  },
  "throttle": 100000000000
}
1 Like

I ran curl -I https://discordapp.com/api/v7/getaway and I got too many requests.
The project is https://flechaa-bot-code.glitch.me

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

2 Likes

Project On Banned IP.

Project Name : rolink-discord.

Hey so just a small question, have you considered asking discord support why the hosts keep getting banned, or if theres a way to prevent it?

1 Like

The hosts get banned because users on glitch mis-use or miscode their bots, causing them to be ratelimited and then banned.

1 Like

Banned:

discord-maker-bot