Site Health: REST/loopback requests are failing, scheduled event failed

Q: DevKinsta Version
A: 1.0.1

Q: OS Version
A: Windows 10 Pro 20H2

Q: Docker Desktop Version
A: 3.1.0

Q: Detailed Description of the Problem
A: So I’ve created a new site and decided to check which information is displayed in Site Health report.

I see these 2 critical errors:

And this recommended improvement:

None of these issues present when I use some other (non-docker based) solutions to create sites locally (OSPanel.io, for example).

Thank you for reporting this. I do see those messages on my end too. We’ll take a look at this!

I have exact the same Problem

In my case it will connect to port 80

Excited to use devKinsta but unfortunately, I couldn’t not run any cron which is very important to my project.

Please see the following:

Error: cURL error 7: Failed to connect to website.local port 443: Connection refused (http_request_failed)

Same thing when I’m not using SSL

Same error when using normal PHP Curl

Tools > Site Health > Could not complete a loopback request

I’ve disabled windows defender but didn’t fixed the issue.

Everything is fine when I’m using localwp.

Thanks!

Sorry for the wait here, @josephg . I’m checking with our developers on this and will get back to you shortly.

@michael No worries mate! Thank you so much for looking into this.

Wordpress site health is also giving me:

"“The REST API request failed due to an error.
Error: cURL error 7: Failed to connect to butterfly.local port 443: Connection refused (http_request_failed)”

What does it mean and how do I fix it?

I’m also getting this related error:

"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 7: Failed to connect to butterfly.local port 443: Connection refused (http_request_failed)"

I’m sorry for the trouble @kadso . We’ll have this resolved in a future version.

Hi @michael ,

Is there any perspective as to when this update is going to be released?
I’m running into the same problem for multiple projects I’m working on.

Really liking DevKinsta so far, but this has been the only big downside for me.

Hi @Bob_van_de_Leur :wave: I’ve confirmed we do still have this listed on our side to be addressed, however I don’t have any type of ETA available, apologies. I understand the need to have that functioning properly and will certainly bump it with our development team. Hopefully we will have more news for you on that soon :crossed_fingers:

1 Like

Same here and its really pushes us to go back to MAMP…sad :frowning:

This issue “The REST API encountered an error…local port 443… your site coulnd not complete a loopback request” is still popping in my localhost’s wordpress site health.

I seek an update please…

I’m afraid no updates as of yet but I’ll be sure to post here as soon as we have more information on this.

1 Like

This (see quote below) is still very much a part of my every day reality. I seek an update. Please advise…

"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 7: Failed to connect to butterfly.local port 443: Connection refused (http_request_failed)"

Hi @kadso - I’m afraid at this time we don’t have an update to share yet on this issue. Thank you again for your patience on this.

Thank you Michael.

Anyone care to weigh in here an guide this non-programer where to look to find others where sooner rather than later timing is the working premise?

Hi Michael,

I’m still getting the two error messages below. What is the latest on resolving this topic?

  1. " Performance

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 7: Failed to connect to butterfly.local port 443: Connection refused (http_request_failed)"

  1. 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 7: Failed to connect to butterfly.local port 443: Connection refused (http_request_failed)

No updates yet @kadso . I’ll be sure to share as soon as we have one!

Thank Michael. Can you loop me into what is the hold up?