TodPlayer Upload playlist

IPTV error 520 (Cloudflare): unknown error from the server

Codes from 520 to 527 come from Cloudflare, which many providers put in front of their panel.

Updated 19 November 2026

Short answerHTTP 520 is generated by Cloudflare when the provider's own server returns something it cannot interpret, such as an empty answer or a crash. The provider needs to check the server; try again later.

What it means

Code520
NameWeb server returned an unknown error
TypeCloudflare status
Usually caused byThe provider's server behind Cloudflare

Cloudflare connected to the origin server but received an unknown or invalid response.

In practice

Cloudflare sits between you and the provider and only reports what it sees: the provider's server answered with something that is not valid HTTP, closed the connection unexpectedly, or sent headers that were far too large. The provider's own logs show which one.

Many IPTV providers use Cloudflare to hide their real server address and absorb attacks. A 520 page with Cloudflare branding therefore tells you the provider's infrastructure is involved, not your internet line.

The page itself helps you report it. Cloudflare error pages show a Ray ID at the bottom, a reference code for that exact request, plus the time and the Cloudflare data centre you went through. Sending a screenshot of that page to the provider lets them find the failing request in their Cloudflare dashboard in seconds. A 520 that only appears for one or two channels points to the stream servers; one on the playlist or login points to the panel server.

Where you see it

  • When the provider's panel crashes behind Cloudflare.

Common causes

  • Origin server crash or restart.
  • Response headers too large or malformed.
  • Firewall on the origin resetting Cloudflare's connections.

How to fix it

  1. Retry in a few minutes.
  2. Report it to the provider with the time; they can see the cause in their logs.
Not sure whether the problem is your line or your device? The IPTV checker shows what the server answers right now.

Frequently asked questions

Is Cloudflare blocking me?

No. Cloudflare is reporting that the provider's server behind it failed.

Can I bypass Cloudflare to reach the server directly?

Not without the provider's real server address, which they keep private on purpose. Wait for them to fix the origin.