10
why does lemmy.world keep bad gateway?
(lemmy.world)
Welcome to the official Lemmy.world Support community! Post your issues or questions about Lemmy.world here.
This community is for issues related to the Lemmy World instance only. For Lemmy software requests or bug reports, please go to the Lemmy github page.
This community is subject to the rules defined here for lemmy.world.
You can also DM https://lemmy.world/u/lwreport or email report@lemmy.world (PGP Supported) if you need to reach our directly to the admin team.
So I assume you're asking why do you get keep getting a "Bad Gateway" message with LW. So usually the reason you get that is LW and most other Lemmy instances run in whats called a container. In order to route requests, an application called nginx is used. The message you see comes from nginx not being able to properly route requests to the container for any number of reasons.
Now the reason that keeps happening, in my opinion, is two fold. First, given that they're one of, if not the largest instances they uncover performance issues before any one else does. This is good overall for Lemmy as the admins here have been very good about troubleshooting and pushing fixes upstream which helps everyone.
The second is again, being the largest they're subject to quite a few bad actors or those "doing it for the lulz". Recently the admins alluded to the fact there was a bad actor that was attempting to DDoS them and knew which Database queries hurt the most to take the instance down.
So really in that case it's not a matter of throwing more resources at it (within reason) since this bad actor is exploiting flaws in the Lemmy code base. Ironically, this is helping fix Lemmy has a whole, but has an effect of a cat and mouse game.