Sites stuck on 'starting' or 502 Request Error

Issue Summary

All sites stuck on ‘starting’ or 502 Request Error when start.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

All sites.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?

Yes.

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

At first I tried cloning a site, but it just got stuck on setting up and never completed the process. Tried starting three sites. They’re all either stuck on ‘starting’ or I got a 502 Request Error.

Tried switching to nginx. It didn’t fix the issue.

  • Which version of Local is being used?

At first v7.0.1, now v7.0.2+6395 (I upgraded to see if it would fix the issue–it didn’t)

  • What Operating System (OS) and OS version is being used?

MacOS 11.7.6 Big Sur

First Local Log from today:

2023/06/30 12:41:02 [error] 8175#0: *1 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: ::1, server: xxxxxxx-290623.local, request: “GET /wp-admin/ HTTP/1.1”, upstream: “http://127.0.0.1:10091/wp-admin/”, host: “xxxxxxx-290623.local”

Last three Local Log entries:

2023/06/30 13:02:49 [error] 9067#0: *8 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: ::1, server: xxxxxxx-290623.local, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://127.0.0.1:10091/favicon.ico”, host: “xxxxxxx-290623.local”, referrer: “http://xxxxxxx-290623.local/
2023/06/30 13:09:03 [error] 9553#0: *3 upstream prematurely closed connection while reading response header from upstream, client: ::1, server: xxxxxxx-290623.local, request: “GET /wp-admin/ HTTP/1.1”, upstream: “http://127.0.0.1:10091/wp-admin/”, host: “xxxxxxx-290623.local”
2023/06/30 13:09:04 [error] 9553#0: *3 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: ::1, server: xxxxxxx-290623.local, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://127.0.0.1:10091/favicon.ico”, host: “xxxxxxx-290623.local”, referrer: “http://xxxxxxx-290623.local/wp-admin/

Hi @RobS

Have you done any reboots of your Local app and machine yet to start?

If you change your Router Mode (Preferences>Advanced>Router Mode) does that make a difference?

Next you might check out our performance guide here to try and root out any culprits:

same here after updating. And “WordPress version” stuck on loading.

there is no helpful information around so far. I’ve tried it all. Even reverting to 7.0.1 it’s stuck with the same behavior

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