Support » Everything else WordPress » Rest API Error (cURL 28)

  • Hello there,

    Recently I have noticed an error in the Site Health section. It’s the first time I am having such an error. I spent a couple of nights on this error but can not find a solution.

    For a long time, I have been using the same set of plugins. But recently wanted to test some other caching plugins rather than my default Cache Enabler plugin. I tried LiteSpeed Cache, then gave up. My first thought was maybe it was because of this plugin change, but when I asked them, they confirmed that they didn’t have any injected left-over code for settings.

    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: Connection timed out after 10000 milliseconds (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: Connection timed out after 10001 milliseconds (http_request_failed)

    I also installed Query Monitor and checked it on the Site Health page and have these results below.

    I mean I’m pretty technical in comparison to a beginner WP user but this is still taking me ages to figure out what’s happening. There were even people recommending a new website install which must be a joke as it’s a live site with many active visitors.

    Wouldn’t it be better if Site Health could really point an issue for inspection rather than just giving us regular users a general statement?

    ?context=edit	cURL error 28: Connection timed out after 10000 milliseconds

    Can anyone support me in diagnosing this problem, please? Internet is full of people having the same problem, but none of the solutions worked for me.

    Many thanks


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.