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/”