Unexpected HTTP response code: 401 or 403

Website URL

kantoris.xyz

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

Other Information

WooCommerce issue, where
Action Scheduler: 52 [past-due actions] found; something may be wrong. Read documentation »

Unexpected HTTP response code: 401 or 403
(Problems spawning a call to the WP-Cron system | WP Crontrol)

This means an access control restriction such as BasicAuth, a firewall, a security or privacy plugin, some form of password protection, or an .htaccess rule is preventing your server from accessing wp-cron.php.

Which page on your site does the error occur? because looking at the home page it looks fine.

The problem is that the WP Crontrol plugin tries to trigger WP Cron by making a loopback request to your website. However, that doesn’t work, because it is blocked by this security system:

However, this does not stop WP Cron from working in general, or stop you from triggering it yourself.

If you are in this position because cron jobs are not being processed, that’s usually the result of a plugin adding very big, or even broken tasks to the cron queue, or just adding too many of them, which is preventing WordPress from processing these tasks correctly.

To verify, you can trigger WP Cron manually by visiting http://kantoris.xyz/wp-cron.php in your browser.

4 Likes

I have installed WooCommerce and that’s overall it. But the website has slowed down significantly and is getting more and more broken by the hour. Is there any way to make cron jobs be processed? Also https://kantoris.xyz/wp-cron.php is returning a white empty page.

I couldn’t find any error while visiting https://kantoris.xyz/wp-cron.php. Try inspecting the network requests from the browser’s developer tools and you can see that it returns 200 HTTP status code.

3 Likes

Because it will return a blank page…

4 Likes

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