Local is not reliable

Hey @pedrorivera, Welcome to the Forums, and I’m sorry that you’ve been having issues!

The “502 Request Error” is fairly common. This FAQ outlines some of the troubleshooting steps that can be done to help fix things:

In general, the 502 error means that something is going wrong with the database of the site. When first starting a site, this is usually due to the database not being fully turned on, so waiting for a bit and refreshing the browser is a good first step.

If the error occurs during regular usage and not right after starting the site, then it’s likely that something within the database is crashing and causing problems.

If that is the case, then I would recommend taking a closer look in the logs/mysql/error.log file and see if there are any errors that are reported there.