Articles on: Technical Support

Whitelisting WP Compress for Uninterrupted Service

Whitelisting User Agent and IPs for Uninterrupted Service



Encountering issues like "Invalid Access Key," "Cannot Communicate Error" in your portal, or "Unable to Optimize Images," and "Critical CSS blocked from running" could be due to our servers being blocked from communicating with your website. This could be a result of certain security restrictions. You can resolve this by whitelisting our user agent and the IP addresses we use.

Steps to Whitelist User Agent and IP Addresses



1. Whitelist the User Agent

The first step is to whitelist our User Agent. The User Agent is:

Mozilla/5.0 (compatible; Compress-API/2.0.0; +https://wpcompress.com)


2. Whitelist rDNS
IP addresses used by wpcompress.com resolve to rDNS names in the format api.wpcompress.com. To simplify firewall configurations and ensure you're whitelisting the correct IP addresses, you can whitelist IPs based on the domain *.wpcompress.com by resolving the rDNS of our IPs.

3. Whitelist IP Addresses

Next, whitelist the following IP addresses. These are the IP addresses that our servers use to communicate with your website:

168.119.147.46
71.19.240.35
216.52.183.178
167.160.91.242
51.79.230.163
51.161.208.134
213.133.103.23
162.55.161.208
213.239.197.231
88.99.209.68
2a01:4f8:251:a11::/64
2605:9f80:c000:240::2/64
2605:9f80:1000:461::2/64
2402:1f00:8001:11a3::/64
2402:1f00:8201:486::/64
2a01:4f8:a0:90d5::/64
2a01:4f8:c012:bb07::/64
2a01:4f8:222:1059::/64
2a01:4f8:10a:3a47::/64


The method for adding the user agent and IP addresses to your whitelist may vary depending on your firewall, security plugin, or hosting provider's control panel. If you're unsure of how to do this, consider reaching out to your hosting provider or IT support team.

By whitelisting our User Agent and the above IP addresses, you should be able to resolve the issues and ensure smoother communication between your website and our servers. If you still encounter issues after performing these steps, feel free to contact our support team for further help.

Updated on: 09/16/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!