Wordpress Rest Api and loopback requests

fmosse

Well-Known Member
Jan 6, 2002
62
1
308
Hi, I have a server with WHM where Wordpress sites show me this error.

I have checked firewall, RAM etc. Any clues?


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 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)

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 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,280
2,434
363
cPanel Access Level
Root Administrator
Hey there! When this has come up in the past, we recommend checking the server's resolvers and firewall to see if that helps fix the connection issue. There are some more details here:


but we never heard back from any of the users that posted about the issue to know what the original cause was and if it was fixed.