All Collections
Troubleshooting
Features and Optimizations
Page Optimizations Forbidden (403 Error) By Cloudways' Bot Protection
Page Optimizations Forbidden (403 Error) By Cloudways' Bot Protection
Updated over a week ago

If you use Cloudways, you might see the following 403 error in the “Optimizations” panel in your NitroPack profile:

Forbidden_Optimizations.png

In such a case, follow the steps below to resolve the issue.

First, log into your Cloudways dashboard - https://platform.cloudways.com/login.

Next, go to the apps menu - https://platform.cloudways.com/apps - and select your application.

Under Application Management, select Bot Protection and click on Show More.

cloudways_bot_protection_01.png

From there, click on Blocked. You’ll see a list of IPs blocked by Cloudways with a small green check next to them.

cloudways_bot_protection_02.png

You need to compare these blocked IPs with NitroPack’s IPs from this article - IP Allowlisting for NitroPack.

If a blocked IP matches an IP from the Allowlisting article, click on its small green check to allowlist it.

The IP should move from Blocked to Allowed and the green check should turn into a red “x” symbol.

Blocked_and_allowlisted_IPs.png

Do this for all NitroPack IPs from the IP Allowlisting article. Once that’s done, the 403 error will be resolved.

Finally, you need to trigger a new NitroPack optimization on the pages that had a 403 error.

You can do that by:

  1. Manually visiting every page with the error through your browser.

  2. Use NitroPack’s Cache Warmup feature to do this for you. For more information, check out this article - Cache Warmup.

Important note: The method above is only necessary until Cloudways implements a way to allowlist IPs in bulk.

Did this answer your question?