Cloudflare Proxy Check Errors

Problem

You see the following CloudFlare® Proxy Check error at Configuration () > System Health:

WHMCS is running behind a CloudFlare proxy, but you have not configured trusted proxy settings. This may cause login sessions to end prematurely.

You may also see login sessions that end prematurely.

If you do not use Cloudflare but see frequent unexpected logouts, see Frequent Logouts.

Cause

WHMCS detected that you are using Cloudflare, but there is a misconfiguration in your settings for trusted proxies.

Solution

Click Click here to automatically reconfigure your CloudFlare proxy settings.. The system will automatically correct the misconfiguration by adding Cloudflare’s IP addresses to the Trusted Proxies list in the Security tab at Configuration () > System Settings > General Settings.

Last modified: 2025 June 13