• Resolved oksanaromaniv

    (@oksanaromaniv)


    Hello,

    I experience a strange behavior with the plugin. It worked correctly and then stopped working near a month ago (I’ve noticed only now). The last time rules were regenerated was on Sep 8.

    When I tried to deactivate/activate the plugin again, it sent a request to critical.css for a home page, but after that, the job for the home page is stuck at “P”. There are a lot of new jobs with “N” flag but they are not processed and the no rules are listed in the “Rules” section.

    On the critical.css the home page CSS was generated without errors, but no new requests are logged.

    I’m using the Cloudways hosting with Cloudflare enabled.

    Thanks!

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter oksanaromaniv

    (@oksanaromaniv)

    @optimizingmatters , found the IP in the list of blocked by WordFence: screenshot

    I’m not sure the Cloudflare or Wordfence allows to whitelist user agents… Let me try with IPs.

    Thread Starter oksanaromaniv

    (@oksanaromaniv)

    @optimizingmatters ,

    What specific settings should be used in this section to prevent API from being blocked?

    WF Rate settings

    Thread Starter oksanaromaniv

    (@oksanaromaniv)

    @optimizingmatters ,

    I’ve got some requests through while enabling learning more for Wordfence, but it didn’t reschedule itself in 5 min. critical.css

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    based on the queuelog the queue has been processed 3 times (9h13, 9h28 and 10h00 UTC) in the mean time, so things are looking OK-ish now?

    Thread Starter oksanaromaniv

    (@oksanaromaniv)

    Hello Frank,

    The issue is now solved. I’m not sure what exactly helped, but here are the changes I’ve made for anyone who stumbles upon thread:

    1. Whitelisted critical.css IPs (138.68.175.225 and 159.65.84.28) in the WordFence firewall
    2. Toggled off the crawling rate limit in the WordFence firewall.
    3. Enabled learning mode for the firewall for 1 day.
    4. Whitelisted critical.css user agent in the Cloudflare firewall rules
    5. Added “/wp-cron.php” page rule to Cloudflare with disabled caching, apps, high security and turned off Rocket Loader
    6. Switched back to WP Cron from system cron as it’s bugged like hell on Cloudways anyway.

    Best,
    Oksana

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    for the “cron not running” issue 5 & 6 are to praise, for the 50x errors in criticalcss.com’s dashboard 1-4 were needed ??

    happy it works now!
    frank

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Jobs queue not working’ is closed to new replies.