Use the AI assistant to fix Cloudflare errors (525, 526, loops)
On this page
When your domain runs behind Cloudflare, many errors come from Cloudflare's settings, not from the server. Once your Cloudflare account is connected, the assistant can read those settings and change them after you confirm.
Before you start
Connect Cloudflare in the control panel:
- Open Cloudflare (section Domains).
- Under Connect your Cloudflare account, create a token in Cloudflare as described on the page (My Profile → API Tokens → Create Token, template "Edit zone DNS", plus the permissions listed there).
- Paste it into API token and click Connect.
Steps
- Open AI assistant in the menu.
- Describe the problem, for example "example.com shows error 526" or "example.com says too many redirects".
- The assistant shows Looking at Cloudflare and reads the domain's zone state, Cloudflare nameservers, SSL mode, "Always use HTTPS", development mode and the web records with their proxy.
- It explains the cause and may propose a change, for example "Set Cloudflare's SSL of example.com to Full (strict)".
- Click Confirm. Cloudflare applies it within a few seconds.
What the assistant can change at Cloudflare
- Clear the Cloudflare cache of the domain (visitors then get the current pages).
- Turn the proxy (orange cloud) on or off for one name (its A, AAAA and CNAME records). It never turns the proxy on for mail or FTP names.
- Set SSL to Full (strict) — the right mode for this server, which has valid certificates.
- Turn "Always use HTTPS" on or off.
Good to know
- Without a connected Cloudflare account, the assistant has no Cloudflare tools.
- The same actions are on the Cloudflare page (Purge cache, SSL: Full (strict), Always use HTTPS) if you prefer to click them yourself.
Common questions
What causes error 525 or 526?
Usually Cloudflare's SSL mode does not match the server, or the website has no valid certificate on the server yet. The assistant checks both.
My website shows old content.
Cloudflare may be serving a cached copy. Ask the assistant to clear the Cloudflare cache, or click Purge cache on the Cloudflare page.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- Find out why your website is down with Site Check and AI
Run Site Check on a website, then let the AI assistant explain the result or find the cause and fix it, such as a certificate or PHP version, after you confirm.
- What the AI assistant can see and do on your server
The exact checks and changes the AI assistant can make for administrators, resellers and customers, and what it never does without your confirmation.
- How to confirm or decline changes the AI assistant proposes
The AI assistant never changes anything on its own. How the confirmation box works, what happens when you click Confirm or Decline, and where it is logged.