how are you? I am getting two errors when I use the native WordPress site health feature.
Your site could not complete a loopback request
Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.
The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error: cURL error 35: OpenSSL SSL_connect: Connection reset by peer in connection to mydomain.com:443 (http_request_failed)
and
The REST API encountered an error
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
The REST API request failed due to an error.
Error: cURL error 35: OpenSSL SSL_connect: Connection reset by peer in connection to mydomain.com:443 (http_request_failed)
Already did:
- I disabled all plugins.
- I changed to the default theme.
- I disabled CSF and ModSecurity on whm.
but without success. How can I resolve this?
I encountered the same two critical issues exactly, in my local development environment.
My WordPress site with the default address 'http://localhost:8000' is running in local docker containers, after adding the extra_hosts part to the docker-compose.yml, the problem resolved.
Here is the working docker-compose.yml
Note that 172.18.0.1 is the default docker gateway.