What it means
| Code | 520 |
|---|---|
| Name | Web server returned an unknown error |
| Type | Cloudflare status |
| Usually caused by | The 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
- Retry in a few minutes.
- Report it to the provider with the time; they can see the cause in their logs.
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.