Wordpress REST API: "Checking if the site connection is secure "


I’m getting a Wordpress error of " The REST API encountered an unexpected result" and when I click on it (in the Site health page) I see a "Checking if the site connection is secure " Cloudflare page that loads but never completes. I’ve tried adding a Bypass rule from my domain to the Json call but I still see the error, as well as disabling the WAF entirely. Help!

Thank you.


Thank you for asking.

I’d suggest you to whitelist your origin host / server / hosting IP address by navigating to the Security → WAF → Tools → IP Access Rules with the action “allow” for your Website and try again.

It happens due to the WordPress using HTTP/1.0 and empty user-agent, therefore while executing WP-Cron or some other related JSON/REST API request.

Useful article:

Unfortunately it still doesn’t work, even after allowing the source IP address to WAF/Tools. Any other ideas? Thank you.

Well, after having Super Bot Fight Mode to allow everything, it works. But shouldn’t the WAF/Tools IP address supersede Super Bot Fight Mode?

I’m facing same issue