Use the AI assistant to fix Cloudflare errors (525, 526, loops)

For hosting customers · Updated 2026-10-29

On this page
  1. Before you start
  2. Steps
  3. What the assistant can change at Cloudflare
  4. Good to know
  5. Common questions

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:

  1. Open Cloudflare (section Domains).
  2. 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).
  3. Paste it into API token and click Connect.

Steps

  1. Open AI assistant in the menu.
  2. Describe the problem, for example "example.com shows error 526" or "example.com says too many redirects".
  3. 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.
  4. It explains the cause and may propose a change, for example "Set Cloudflare's SSL of example.com to Full (strict)".
  5. 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.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.