[wp-trac] [WordPress Trac] #47431: Healthcheck: Misleading Critical Issue when using Localhost servers for development

WordPress Trac noreply at wordpress.org
Wed May 29 21:41:22 UTC 2019


#47431: Healthcheck: Misleading Critical Issue when using Localhost servers for
development
--------------------------+-----------------------------
 Reporter:  gecko_guy     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.2.1
 Severity:  normal        |   Keywords:  needs-dev-note
  Focuses:  ui, rest-api  |
--------------------------+-----------------------------
 Critical issues report when using a localhost server that does not resolve
 to a real domain that is publicly accessible.

 In both cases below this is not correct.

 ----

 __1: The REST API encountered an error__

 '''The REST API request failed due to an error.
 Error: [] cURL error 6: Could not resolve host: dev.example.vm'''

 The host resolution issue is not an error. Localhost domains can never
 resolve to a public nameserver.

 ----

 __2: Your site could not complete a loopback request__

 '''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: dev.example.vm'''

 Loopback requests work fine, there is no error, it's just a localhost
 domain

 ----

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47431>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list