Discover Centmin Mod today
Register Now

Wordpress WP-Rocket regenerate critical css error

Discussion in 'Blogs & CMS usage' started by Lav, Apr 1, 2020.

  1. Lav

    Lav Member

    49
    1
    8
    Feb 23, 2020
    Ratings:
    +1
    Local Time:
    8:28 AM
    1.17.8
    10.3
    I have mod security, aggressive bad bot blocker, csf fail2ban like rule installed and activated on my server.
    Recently I changed my server and connected it to a new IP address but now I am not able to regenerate critical CSS on WP-Rocket as it is giving error 400. As I have learned this is happening because some of the security system on my server.
    WP-Rocket says to whitelist ip
    Code:
    167.114.226.142
    for regeneration of critical css and I have whitelisted this ip in csf.allow as
    Code:
    167.114.226.142 # wprocket - Tue Mar 31 16:34:20 2020
    and restarted csf and nginx but it didnt worked. Then I commented out mod security and bad bot blocker codes in my domain vhost file and restarted nginx but still it didnt worked.
    After some research what I could find was that I need to whitelist my new server IP somewhere so that it could call itself back.
    I need help to understand where do I need to whitelist my server IP address as I have whitelisted my new server IP address in bad bot blocker whitelist.conf file but it still not working. Where else do I need to do these?
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,731
    10,196
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,804
    Local Time:
    12:58 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  3. Lav

    Lav Member

    49
    1
    8
    Feb 23, 2020
    Ratings:
    +1
    Local Time:
    8:28 AM
    1.17.8
    10.3