502 error on some pages

Hello.
When I run my site, it works and opens up, but when I click on another page on the site (in this case it’s my Product’s store) I get “502 Request Error The page you requested generated a server error and could not be processed.”

  • I tried waiting for some time, restarting the website, uploading a new website in zip, restarting Local WP.

System Details

  • Local Version: 8.0.2

  • Operating System (OS) and OS version: Windows 11, Version 22H2


Local Logs

local-lightning.log (60.0 KB)
error.log (42.0 KB)

Hi @erikokonut

A good place to start might be checking our performance document below especially the items pertaining to Windows:

If you’re still having trouble keep us posted!

I checked Windows issues with Local WP, but the problem wasn’t solved. The same error still happens. Checked the other websites (I’ve saved previous versions of the same site) and same error occurs, even though it didn’t occur before.

If you create a new, blank site on Local do you get 502s when clicking around that?

If you change your Router Mode to Localhost do you still get 502s?

Preferences>Advanced>Router Mode>Localhost

If you create a new, blank site on Local do you get 502s when clicking around that? Yes, I do

If you change your Router Mode to Localhost do you still get 502s? Yes, I still got that

Do you have any antivirus, security, or firewall applications that could be interfering with Local?

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

Are you using an office network or a VPN?

No and no, I don’t use other applications and I’m not using VPN. And my firewall applications aren’t blocking Local WP.

I get this 502 error on some of the pages of site, not on all.

Nevermind, I found the solution

1 Like

Hi @erikokonut! Glad you got things working. What ended up being the fix?

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.