• Hi friends

    I have a problem on my site. The website is showing me this error. I’ve been dealing with it for almost a month and I don’t know how to remove it. I will be grateful for any advice. The site works normally, but I don’t publish the posts I post.

    Error: cURL error 52: Empty reply from server

    Thanks

    Lukas

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Where is it showing you this error?

    Thread Starter dratek

    (@dratek)

    Hi

    It turns out to me in tools and in Site Health.

    1- 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 52: Empty reply from server

    2-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 52: Empty reply from server

    These two mistakes show me and I don’t know how to say it.

    Some idea?

    Thank you

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Right. This could cause various problems such as scheduled posts (posts you make to show up in the future) to not show up at their scheduled times.

    The underlying problem could be one of a number of server issues. Perhaps the server is configured to not respond to loopback requests, or perhaps the server doesn’t have DNS knowledge so it cannot look up its own IP address.

    Loopback is when the server needs to make a hit to itself. WordPress does this for a number of operations, basically by making an outgoing HTTP request back to a URL on its own server. It uses this to enable multitasking for the wp-cron process, and it can be (seldomly) used for REST API work, when internal systems need to access the REST API directly. Sometimes these types of loopback requests are intentionally disabled, out of a misguided and incorrect notion of “security”.

    Basically, unless you manage your own server, you probably can’t fix it. You need to talk to the person who runs your server or hosting service and see if they can examine what’s wrong with the server configuration.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cURL error 52: Empty reply from server’ is closed to new replies.