Site health – CURL Error 28 timeout
-
I’m having a problem with a site that shows site health errors for CURL – error 28. There’s a lot of “fixes” out there, but so far nothing has worked for me.
To complicate matters, this is a dedicated VPS, and another WordPress site on the same server with the same settings does not have this error.
The errors that show are:
The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.
When testing the REST API, an error was encountered:
REST API Endpoint: https://***/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Connection timed out after 10001 millisecondsLoopback 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 28: Connection timed out after 10001 milliseconds (http_request_failed)What I have done so far:
- Disabled all plugins, set a Twenty* theme and deleted the .htaccess file
- Checked that there is no firewall on the site or the server that’s blocking the requests
- Checked SSL and DNS for any errors
- Checked with the hosting companies server techs – and they can’t see any issues or configuration problems
- Checked the REST URL in a browser, and it gets the expected “not allowed” response.
As I said, this is very strange because the other site on the same server works fine and doesn’t have the same issue.
So, is there anything else that I can check or any other ideas on what could be wrong with it?
- The topic ‘Site health – CURL Error 28 timeout’ is closed to new replies.