• Recently i move my wordpress webserver from A server to B server. I use nginx, php-7.4 and MariaDB on OpenBSD 7.3 which was the same configuration as previous server. i notice i cant install plugins because the plugins page not loading, when i go to the site health screen, it gives me a lot of error. any solution to fix those problem? thankyou

    The REST API encountered an error
    
    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://lazuardinsani.com/wp-json/wp/v2/types/post?context=edit
    REST API Response: (http_request_failed) cURL error 6: Could not resolve host: lazuardinsani.com
    Could not reach www.remarpro.com
    
    Communicating with the WordPress servers is used to check for new versions, and to both install and update WordPress core, themes or plugins.
    
    Error Your site is unable to reach www.remarpro.com at api.www.remarpro.com, and returned the error: cURL error 6: Could not resolve host: api.www.remarpro.com
    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 6: Could not resolve host: lazuardinsani.com (http_request_failed)
    A scheduled event has failed
    
    The scheduled event, wp_https_detection, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • It may be that the new server does not have name servers set up, or are set up incorrectly. On the new server, what are the contents of /etc/resolv.conf?

    Thread Starter lazuardinsani

    (@lazuardinsani)

    look like this because i use vultr server

    nameserver 108.61.10.10 # resolvd: vio0
    nameserver 2001:19f0:300:1704::6 # resolvd: vio0
    lookup file bind
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    nameserver 2001:19f0:300:1704::6
    nameserver 2620:fe::fe
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘REST API Response: (http_request_failed) cURL error 6’ is closed to new replies.