Title: ERROR: Failed to update rules
Last modified: May 8, 2017

---

# ERROR: Failed to update rules

 *  Resolved [vinzen](https://wordpress.org/support/users/vinzen/)
 * (@vinzen)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-failed-to-update-rules/)
 * Received the error alert – ERROR: Failed to update rules.
 * After logging in to the admin dashboard, and clicking on check for updates now,
   I get the message that no updates are available. I checked the overview where
   it says that the security rules were last updated on 29th April. The log for 
   all days from this date onwards shows this error: Error: Unable to connect to
   the remote server (cURL error 28: Operation timed out after 0 milliseconds with
   0 out of 0 bytes received).
 * What is the problem and how do I resolve it? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-failed-to-update-rules/#post-9108732)
 * We did not make any changes on 29th April, so you may have a server connectivity
   issue, or a server firewall blocking outgoing connection, or an issue with HTTPS.
 * Does the problem still persist now that you manually updated the rules?
    If it
   does, try to disable NinjaFirewall HTTPS connection by adding the following to
   your `wp-config.php` script:
 *     ```
       define('NFW_DONT_USE_SSL', 1);
       ```
   
 * Then let it run a few hours and check again the updates log for errors.
 *  Thread Starter [vinzen](https://wordpress.org/support/users/vinzen/)
 * (@vinzen)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-failed-to-update-rules/#post-9108749)
 * I had received the ERROR: “Failed to update rules” today itself just a few hours
   ago. In that email, I was suggested to manually update the rules. But when I 
   tried doing so, nothing happened. Do I still need to try disabling NinjaFirewall
   HTTPS connection?
 *  Thread Starter [vinzen](https://wordpress.org/support/users/vinzen/)
 * (@vinzen)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-failed-to-update-rules/#post-9108830)
 * I think I should give more information to avoid any misunderstanding.
 * Today is the first time ever that I received the “ERROR: Failed to update rules”
   email.
 * In that email, it was suggested:
 * 1. Log in to your WordPress admin dashboard.
    2. Go to “NinjaFirewall > Updates”.
   3. Click on “Check for updates now!”.
 * When I checked for updates, I got this message “No update available.”
 * In the Overview, I see the following information:
 * NinjaFirewall is running in Full WAF mode.
    Version 3.5 ~ Security rules: 2017-
   04-29.2
 * Have the security rules not updated since April 28/29? If not, then why did I
   receive the error “Failed to update rules” email today? If the rules have been
   updated, why do I see “No update available”.
 * Thanks.
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-failed-to-update-rules/#post-9109045)
 * You already have the latest rules. It looks like you have some kind of reverse
   proxy, and when your WordPress attempts to connect to the remote server to download
   the rules, your proxy returns an error message and NinjaFirewall, which receives
   that message, warn you that this is not the rules it expected to receive.
    -  This reply was modified 9 years, 1 month ago by [nintechnet](https://wordpress.org/support/users/nintechnet/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ERROR: Failed to update rules’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/error-failed-to-update-rules/#post-9109045)
 * Status: resolved