• 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 10001 milliseconds with 0 bytes received

    Your site could not complete a loopback request Performance

    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 10001 milliseconds with 0 bytes received

    I am not using Block Editors and deleted them. I only use a Markdown Editor.
    I have root access on the VPS and only WP is running. I am using Ubuntu 19 and have 4 GB ram. Pages load fast.

    I tested every plugin and none of them are causing the issue. I am using the latest version of WP

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

    (@otto42)

    www.ads-software.com Admin

    Loopback means that your server sometimes needs to make a connection back to itself. Like when you use a browser to go to https://example.com, your webserver sometimes needs to make a connection back to itself to start a new process. This is used for wp-cron, pingbacks, and other assorted background tasks in WordPress.

    Make sure your server has DNS set properly, so it can look itself up. Also make sure that you can do a curl or wget to your own site from the server itself.

    Thread Starter csa123456

    (@csa123456)

    root@inter01:~# wget https://inter01.com
    –2020-03-03 14:14:12– https://inter01.com/
    Resolving inter01.com (inter01.com)… 127.0.1.1
    Connecting to inter01.com (inter01.com)|127.0.1.1|:443… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: unspecified [text/html]
    Saving to: ‘index.html’

    index.html [ <=> ] 62.68K –.-KB/s in 0.001s

    2020-03-03 14:14:12 (65.2 MB/s) – ‘index.html’ saved [64185]

    Thread Starter csa123456

    (@csa123456)

    I am using the githuber-md editor

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The REST API encountered an error’ is closed to new replies.