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!
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.