I followed the troubleshooting instructions found on the page you provided. This includes stopping whatever is listening on port 80 and ending that process. I received the following error when attempting the last step of “Changing Router Mode” - Fixing the site domain when prompted.
I’ve also reached out to my IT company, and they stated that there aren’t any firewalls blocking the connection.
My entire team is seeing this same error. Seems to have been introduced with the last version or so of Local. We’ve changed nothing in our environments.
Same OS (Win 10), all using the same Local version, and all working on the same site. The site was importing and updating fine, and then it stopped working.
Log file output:
{"thread":"main","class":"DevKitService","message":"Could not create directory '/home/xxxx/.ssh'.\r\n","level":"warn","timestamp":"2023-04-06T19:07:35.543Z"}
{"thread":"main","class":"DevKitService","message":"Failed to add the host to the list of known hosts (/home/xxxx/.ssh/known_hosts).\r\n","level":"warn","timestamp":"2023-04-06T19:07:35.667Z"}
{"thread":"main","class":"DevKitService","message":"Could not create directory '/home/xxxx/.ssh'.\r\n","level":"warn","timestamp":"2023-04-06T19:08:03.181Z"}
{"thread":"main","class":"DevKitService","message":"Failed to add the host to the list of known hosts (/home/xxxx/.ssh/known_hosts).\r\n","level":"warn","timestamp":"2023-04-06T19:08:03.295Z"}
{"thread":"main","class":"DevKitService","message":"Could not create directory '/home/xxxx/.ssh'.\r\n","level":"warn","timestamp":"2023-04-06T19:08:16.457Z"}
{"thread":"main","class":"DevKitService","message":"Failed to add the host to the list of known hosts (/home/xxxx/.ssh/known_hosts).\r\n","level":"warn","timestamp":"2023-04-06T19:08:16.574Z"}
{"thread":"main","class":"DevKitService","message":"WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead.\n","level":"warn","timestamp":"2023-04-06T19:08:31.123Z"}
{"thread":"main","class":"ImporterWPE","stack":"Error: Command failed: \"%%userDataPath%%\\lightning-services\\php-7.4.30+5\\bin\\win64\\php.exe\" \"%%resourcesPath%%\\bin\\wp-cli\\wp-cli.phar\" --path=\"C:\\Users\\xxxx\\Local Sites\\xxxxxxxx-xxxxxxxx-dev\\app\\public\" --require=\"%%resourcesPath%%\\bin\\wp-cli\\local-wpcli-error-reporting.php\" --skip-plugins --skip-themes --url=xxxxxxxxcomstg.wpengine.com \"search-replace\" --all-tables-with-prefix \"http://xxxxxxxxcomstg.wpengine.com\" \"http://xxxxxxxx-xxxxxxxx-dev.local\"\nError: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.\n\n at ChildProcess.exithandler (node:child_process:407:12)\n at ChildProcess.emit (node:events:527:28)\n at ChildProcess.emit (node:domain:475:12)\n at maybeClose (node:internal/child_process:1092:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)","level":"warn","message":"Unable to import site.","timestamp":"2023-04-06T19:09:22.297Z"}
Rewinding here, you were able to get the site imported into Local and begin working on it but then the errors started?
Regarding the original error, the critical error, were you seeing any fatal errors in the logging?
Can you share the full local log here? There are some different ways to access and share Local Logs. For us to be able to troubleshoot thoroughly, please click the Download Local Logs button from the Support tab in Local. This will generate a zip archive that contains the Local log along with some other diagnostic information to help quickly zero in on any issues that Local is encountering. You can just drag and drop that zip into the thread here.
Is this site currently hosted on WP Engine or Flywheel? Or is it hosted elsewhere?