• Resolved cousineddie

    (@cousineddie)


    Hi, I often get an email from my WP-Cron Status Checker plugin advising “WP-Cron started but failed to complete. Normally a failure here or there is not something to be concerned about. You may want to look into the failures if they happen fairly consistently.

    The reason for a failed cron could be one of many factors. It could indicate a coding error due to a plugin or conflict of plugins, it could indicate your server ran out of resources, or it could just mean the event did not finish within 5 minutes

    The following hooks failed to complete. 

    advaipbl_cloudflare_sync_event”

    How to get around this error?

    thanks

Viewing 1 replies (of 1 total)
  • Plugin Author IniLerm

    (@inilerm)

    Hello @cousineddie,

    Thank you for reaching out!

    There is absolutely no need to worry about this error. Your WP-Cron Status Checker plugin is just letting you know that the Cloudflare Sync task took longer than 5 minutes to complete, so your server automatically paused it.

    Why does this happen? When the advaipbl_cloudflare_sync_event runs, it communicates with the Cloudflare API to push your locally blocked IPs into your Cloudflare Firewall. If you have hundreds or thousands of blocked IPs, sending them one by one over the internet can take longer than the strict 5-minute timeout window enforced by most hosting providers.

    How to get around it: The short answer is: You don’t need to do anything.

    Our plugin is designed to be fully resilient to these timeouts. We use a “Delta Sync” architecture. This means that if the sync times out halfway through, the plugin won’t start from scratch next time. On the next hourly cron run, it will automatically detect which IPs are still missing and resume exactly where it left off. Over a few cycles, it will fully catch up without any intervention from you.

    Note: Just keep in mind that Cloudflare has limits on how many IP Access Rules you can create depending on your plan (e.g., Free plans have a much lower cap than Pro/Biz plans), so if your local blocklist is extremely large, Cloudflare might eventually reject new rules once you hit their account limits.

    You can safely ignore that warning email. The plugin will continue to sync your IPs incrementally in the background.

    Best regards,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.