If you have been around on the glitch forum for a while, you may have seen the discord ban mega-thread. It’s the spot to report banned IPs. But unfortunately, it is an endless loop. The scammers who get their bots banned are also likely posting them. When they get sent to a new host, that host will get banned, and so on. If we want this problem to end, I have a few ideas.
Idea 1: The pricey but more user-friendly idea.
To stop this, Glitch would have to give each user a unique IP. If they got a bot banned, all of their bots would be banned and Glitch could look into the problem to see if they need to take action. This, in an ideal world, would be the solution. The issue is that getting everyone an IP would cost a very, very large amount of money.
Idea 2: The cheap but not so user-friendly idea.
When a new Glitch account is created, the user would have to enter a credit card. Discord spammers probably don’t have lots of cards, so this would, in theory, work, but it causes another issue. Most people using Glitch will not want to put in a credit card because of the fear they could get charged or scammed.
It would make the free version of Glitch more paid and many users use Glitch because it doesn’t require a credit card (among other great things).
I remember reading a post where cori said that each container had a different IP or something (correct me if I’m wrong) and how they change dynamically over time.
We could at least reduce this problem for boosted projects by locating them in another server. That way, paid users will no longer find this as a headache. @glitch_support, are there any updates regarding the Discord IP ban.
I don’t see why a free user would need a glitch project to connect to a url multiple times very fast. Unless they are trying to build a supercluster of computers.
I mean if you want all that power you could just get google colab notebook they have like 100gb of storage, 12gb of ram, and fast gpus for all your parellel processing needs.
If I am right, Glitch has an API. If the team could expand that API than possibly they could make a form where people put in their project name and then the form will automatically refresh the container it’s on. That would decrease the huge efforts that the Glitch team have to put in to manually refresh the containers and the huge forum thread!
For now, could we add a Google Form instead of the long forum post, just to clean things up?
Don’t think requiring a credit card is the way to do it.
Reason being the point behind glitch was to help young coders who want to learn how to code. Requiring a credit card will turn away a huge portion of these coders, defeating glitch’s point.
Better Solution
Monitor/log each request to Discord, when an IP gets banned, find the ones that might have caused it, then take appropriate actions.
There really is no “good” way to do this, at the end of the day, Glitch is still a free service. So free users should be ok with waiting a few days for service restoration. (Paid users are a different story, they should get a separate host)
Ok here’s a possible solution, if the glitch team could setup container servers just for discord bots and let people move their code to the discord bot servers. Here’s the catch the glitch team has a system where it monitors the rate of requests it sends to the discord api if it’s too fast it automatically suspends the app. Or, you could go through a background check and a person would look at your code to ensure it isn’t being malcious.
Personally I think the automated solution might work better since according to the megathread, we have a lot of discord bots
Sorry, I know we hate bumps, but this is only relevant here: if you don’t want the megathread to clog up the forum when you are viewing it, just change it from Normal/Tracking/Watching to Muted at the bottom of the thread so it doesn’t appear.
assuming most nodejs packages respect proxies we can set the default system proxy to a proxy that rate limits your requests so they never hit the discord servers