Placed into Glitch Help as the error is on Glitch, not a Discord-sided issue
The bot worked perfectly up until a few hours ago when it randomly restarted and the following screenshot started happening:
Not sure how to fix it. Anyone got any ideas? It hasn’t been touched for a few days so idk what is happening.
My Live App link is: https://isd-public-bot-v1.glitch.me
Do note that for some reason the project refuses to wake up too!
Hi there!
Have you tried this in the terminal?
curl -I https://discordapp.com/api/v7/gateway
Send the results over and I’ll have a look.
Eddie
1 Like
If my eyes serve me correctly and my brain functions, would I be correct in thinking Discord has temporarily banned the bot due to rate limits?
@EddiesTech
Your project has indeed been banned. Post your project name on the discord ban mega thread and Glitch will move you onto a different host.
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 th…
2 Likes
Thank you for your assistance.
I highly recommended creating a watch.json.
1 Like
View my topic about the 429 issue. Anyway you can create a watch.json by this:
{
"install": {
"include": [
"^package\\.json$",
"^\\.env$"
]
},
"restart": {
"exclude": [
"^public/",
"^dist/"
],
"include": [
"\\.js$",
"\\.json"
]
},
"throttle": 84600000
}
@SplitXPlayZ Can you explain to me exactly what Watch does? I’ve only recently started learning programming and I still have a lot to learn.
The watch.json will stops auto-restart so you cannot abuse the API by typing your code and the project will auto-refresh, a lot of these 429 issues are this problem.
Ah I see. But isn’t there an option for that with Glitch already? Just below where you make your project private? Or is that something else.
No, i guess. Glitch doesn’t have that yet .
Alright. Thanks for the help.
Anyway, do you have the 429 error still?
Nope. Discord removed the Rate Limit around an hour ago.