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

Uncaught Promise Rejection Error: Something took too long to do.

Project: space-bots-list

Thing is, I do not think it is a banned host
https://gyazo.com/28da24d4c02f77a514275b762f50612e

Project Name: nate-bot

It had the socket hang up few days ago which wasn’t related to my bot being on a banned host. Now it is.

Hey @NTMNathan as far as I can tell your bot isn’t on a banned host, although I can’t see that far back for your project so it may have been. We haven’t had a lot of banned hosts over the last few days.

Same for ~space-bots-list, @Callum-OKane - that project does not appear to have been on a banned host in recent days.

1 Like

My project on banned host
project name: bot-natsuko

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 @Shinomiya 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