WordPress WP-Cron and loopback requests returning HTTP 403/500

Website URL

https://circleofone.org/

Error Message

I’m hosting a WordPress website on InfinityFree and experiencing problems with WP-Cron and WordPress’s internal HTTP requests.

WordPress Site Health reports:

Loopback request: HTTP 403 Forbidden

REST API Site Health test: HTTP 403 Forbidden

Scheduled event rocket_saas_pending_jobs is overdue

I performed additional tests using UpdraftPlus’s built-in HTTP diagnostic tool:

Homepage (/): HTTP 200

Public REST API (/wp-json/): HTTP 200

Protected REST API (/wp-json/wp/v2/types/post?context=edit): HTTP 401 without authentication, as expected

WP-Cron (/wp-cron.php) using cURL: HTTP 500

WP-Cron (/wp-cron.php) using WordPress HTTP Fetch: HTTP 403, returning an openresty Forbidden page

Opening /wp-cron.php directly in a normal browser displays a blank page.

UpdraftPlus also reports four overdue scheduled tasks.

Could you please clarify whether InfinityFree restricts WordPress self-requests or loopback requests to wp-cron.php, and whether there is a supported configuration or workaround to make WP-Cron run reliably?

Thank you.

Other Information

I’m hosting a WordPress website on InfinityFree and experiencing problems with WP-Cron and WordPress’s internal HTTP requests.

WordPress Site Health reports:

Loopback request: HTTP 403 Forbidden

REST API Site Health test: HTTP 403 Forbidden

Scheduled event rocket_saas_pending_jobs is overdue

I performed additional tests using UpdraftPlus’s built-in HTTP diagnostic tool:

Homepage (/): HTTP 200

Public REST API (/wp-json/): HTTP 200

Protected REST API (/wp-json/wp/v2/types/post?context=edit): HTTP 401 without authentication, as expected

WP-Cron (/wp-cron.php) using cURL: HTTP 500

WP-Cron (/wp-cron.php) using WordPress HTTP Fetch: HTTP 403, returning an openresty Forbidden page

Opening /wp-cron.php directly in a normal browser displays a blank page.

UpdraftPlus also reports four overdue scheduled tasks.

Could you please clarify whether InfinityFree restricts WordPress self-requests or loopback requests to wp-cron.php, and whether there is a supported configuration or workaround to make WP-Cron run reliably?

Thank you.

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

I couldn’t find anything on the forum that says whether InfinityFree blocks WordPress loopback requests to wp-cron.php. I can’t tell you the 403 is a deliberate restriction, and I can’t tell you it isn’t. The 403 from the WordPress HTTP fetch and the 500 from cURL on the same file also look like two different problems. A person on our staff needs to look at that.

Here is what I did find. A staff-style answer in this topic says free hosting doesn’t support system cron jobs. It says WordPress runs its own built-in scheduler alongside page loads instead, and that this can’t be fixed from the hosting side:

Another topic says the client area has a “Cron Jobs” section, and that the options there are the only ones you get. It also mentions a documentation article on running WP-Cron with those cron jobs, but I couldn’t pull up that article, so I can’t tell you its steps or whether it covers your 403:

So the “Cron Jobs” section in your client area may be worth a look as a way to trigger wp-cron.php on a schedule. I can’t confirm it gets past the 403 or the 500.

This is expected. Automated access to websites on free hosting is blocked, including automated access from your own website. This shouldn’t normally interfere with WordPress’ built-in cron handling (which just executes tasks in the background while a page is being loaded), since that’s effectively triggered by web browsers.

Now this is a much interesting error. A HTTP 500 error suggests that the wp-cron.php endpoint is crashing. This could be caused by a bad job in the task queue that crashes WordPress and is preventing the rest of the queue from being processed.


Regardless, a quick first check is to trigger the cron yourself. You can do so by just adding wp-cron.php to the end of your website URL, so for your website, that’s this: https://circleofone.org/wp-cron.php

I don’t see any crash there, but it took a while to load, which means it’s doing something. You can try refreshing that page a few times and see if that helps clearing the queue.