“WP-Cron & Loopback Issue: 403 Forbidden – Events Not Running”

https://englishnest.wuaze.com

Hello InfinityFree team,

I’m encountering a 403 Forbidden error on my WordPress site when it tries to perform loopback requests, such as verifying page cache or running scheduled tasks.

Plugin used: WP Crontrol by John Blackbourn

Error message: There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron events on your site may not work. The problem was: Unexpected HTTP response code: 403.

Site information:

  • Username: if0_39295073
  • Domain: englishnest.wuaze.com
  • Website IP: 185.27.134.110
  • Home Directory: /home/vol9_3/infinityfree.com/if0_39295073

One example event that hasn’t run is: recovery_mode_clean_expired_keys, last scheduled for June 22nd.

Could you please check whether ModSecurity or other firewall settings are blocking loopback/internal requests (such as to 127.0.0.1)?

Thank you so much for your help! —
AndreaNest :paw_prints:

PS: I’m not a techie, I asked Microsoft Copilot to help write this message. I hope it helps to understand the problem. :face_with_peeking_eye:

Cron jobs are blocked on infinity free. sorry

2 Likes

Thanks so much, @dan30008 :face_with_peeking_eye: I really appreciate the quick and clear answer—even if it wasn’t the news I was hoping for! At least now I understand the limitation.

Guess I’ll keep an eye out for caticorns. :upside_down_face:

you can still run the cron jobs by going to yoursite/wp-cron (I think thats where it is) to run them manually. they just can’t run automatically

4 Likes

I appreciate your lightning fast help. :nest_with_eggs:

WP cron will work just fine on our hosting. You can even trigger it by hand by just navigating to <your site>/wp-cron.php.

The only thing that will not work is having PHP code on your code trigger that wp-cron.php endpoint for you. Those requests will be blocked by this security system: Ensuring only web browsers can access your website

But again, this is not a problem for normal website functionality.

If the WordPress cron job queue is not being processed, that’s usually the result of some plugin adding broken jobs to the queue that are blocking the rest of the queue from being processed, or just adding such a large amount of jobs that WordPress is having trouble keeping up.

You can use a plugin like WP Crontrol to get more insight into the queue, and then try triggering the cron yourself with the wp-cron.php URL to see if you get get things moving.

6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.