WordPress Site Health Issues

Issue Summary

Fresh and Clean WordPress install, no plugins installed.
Windows 10, Apache, PHP 7.4.1, MySQL 5.7.28

Getting WordPress Site Health Critical Issues:

  1. The REST API encountered an error
  2. Your site could not complete a loopback request

Tried reinstalling and same thing happens again.

Any ideas?

System Details

  • Which version of Local is being used? Latest version: 6.1.1+5468

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

  • Attach the Local Log.
    local-lightning.log (287.8 KB)

Hey @jjduro Welcome to the Local Community Forums!

I’m not seeing any obvious things in the Local log. Since the REST API message is indicating a Operation timed out... error, there might be more info in Local’s Router log, which you can find at “Help > Reveal Local Router’s Log”

Hi Ben,

Appreciate the response with this. I’ve attached the error.log file from:
C:\Users\jjdur\AppData\Roaming\Local\run\router\nginx\logs

Does this help?

Thanks,

Jason
error.log (1.9 KB)

Nice! Yep, that error log has more details. These lines in particular stand out to me:

2021/08/25 01:23:33 [error] 5744#16836: *478 WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading response header from upstream, client: 127.0.0.1, server: sandbox.local, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:10005/", host: "sandbox.local", referrer: "https://sandbox.local/"
2021/08/27 15:04:42 [error] 8268#7940: *15 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: sandbox.local, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "http://127.0.0.1:10005/wp-admin/admin-ajax.php", host: "sandbox.local", referrer: "https://sandbox.local/wp-admin/site-health.php"

Specifically this part:

No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1

That IP address of 127.0.0.1 is associated with your computer, which means something on the computer is preventing those AJAX requests. Do you have any antivirus software installed which might be preventing POST requests? Maybe some sort of security setting in place?

Not as far as I know. I am running Win10 Pro with default Windows Security. Is there any specific firewall settings I need to configure perhaps?

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