Resolving problems with license validation

When you install and activate WP Rocket, the validation of your license happens in the background. 

If license validation does not happen automatically, you will see a screen like this:

It is not an issue that your license info is greyed out. You are not expected to edit these fields, they are automatically detected.

General Troubleshooting

Save changes

First, simply try clicking Save Changes. In many cases, that’s all that is needed. If that doesn’t help, move on to the next steps. 

Whitelist our IP address

Ask your web host to whitelist this IP address:

  • 167.114.234.147

Note: Whitelisting this IP address solves the issue in 99% of cases!

Check wp-config.php

Our server needs to contact your site to do this. If your site is blocking external HTTP requests we will be unable to validate your license and you will see a message in your dashboard asking for your API key. Here's how you can resolve this. 

Check your wp-config.php file and see if this line is present: 

define( 'WP_HTTP_BLOCK_EXTERNAL', true );

If so, it is blocking the license validation.

This may be a good idea for security reasons, but it's better to whitelist approved hosts like us: *.wp-rocket.me

So you can delete the above constant, or set it to FALSE, and use the WP_ACCESSIBLE_HOSTS to whitelist us (and any other necessary domains via a comma separated list). For example:

define( 'WP_ACCESSIBLE_HOSTS', 'wp-rocket.me,*wp-rocket.me,*.wordpress.org,localhost' );

Deactivate security plugins

Some security plugins, depending on their settings, may also block the validation process. Please temporarily disable them while attempting to validate your license.

Download and reinstall

In rare cases, you may need to download WP Rocket from your account page, reinstall and activate it. Particularly if the validation screen shows an email address not associated with your account or generic license information.

Troubleshooting Validation Errors

  • License validation failed. Our server could not resolve the request from your website.
  • Please try the general troubleshooting steps. If the issue persists, please contact support.

  • License validation failed: Your license is not valid.
  • You may not have an active license of WP Rocket. Please purchase one on our website.

  • License validation failed: You cannot add more websites. Upgrade your account.
  • The number of websites allowed for your license has been reached. You will need to upgrade your license to add more websites from your account.

    Heads up! If you have validated your license on a localhost website first, you may need to transfer your license to the production website too.

  • License validation failed: This website is not allowed.
  • Your website is not allowed. Please contact support for more information.

  • License validation failed: This license key is not recognized.
  • First, try re-installing WP Rocket on your website. If the issue persists, please contact support.

  • License validation failed. You may be using a nulled version of the plugin.
  • Your plugin may not have been purchased and issued from our website. Please make sure it is official or purchase a license.

  • License validation failed. This user account is blacklisted.
  • It’s possible your account has been blacklisted due to unusual activity, such as when a license has been publicly shared or violates our terms of service. Please review your account and make sure that you recognize all of the websites listed. Contact support if you believe this notice is in error or you discover your license has been compromised.

  • License validation failed. This user account does not exist in our database.
  • The user email associated with the license isn’t in our database. Please contact support.

  • Curl errors related to SSL
  • If you receive cURL error 60, this is related to an issue with the SSL certificate on your server. You should ask your host to resolve that error. To validate your WP Rocket license in the meantime:

    1. Install and activate the following helper plugin:

      📥  Download (.zip): WP Rocket | Disable SSL Certificate Validation
      Developers: You can find the code for this plugin on GitHub.

    2. Go to WP Rocket > Settings
    3. Click “Save Changes” to re-try the license validation
    4. Deactivate the helper plugin