502 Bad Gateway on existing sites and error message on new installs

What issue or error are you experiencing?

Existing sites won’t open resulting in a 502 Bad Gateway message when trying to open either WP admin or the site. New installs result in an error message. See photos.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • 9.1.1

  • Operating System (OS) and OS version:

  • Windows 11


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-lightning.log (19.8 KB)
error.log (3.2 KB)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @cottontowndigital

These resources might help you to resolve the vcruntime error:

https://answers.microsoft.com/en-us/windows/forum/all/vcruntime140dll-and-msvcp140dll-missing-in-windows/caf454d1-49f4-4d2b-b74a-c83fb7c38625

If you’re still having errors or issues after getting that patched let us know!

Thanks Nick, your solution worked a treat.

1 Like

Glad to hear it @cottontowndigital! Thank you for following up :green_heart:

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