What it means
| Code | 522 |
|---|---|
| Name | Connection timed out |
| Type | Cloudflare status |
| Usually caused by | The provider's server or network |
The TCP connection between Cloudflare and the origin was not completed within Cloudflare's time limit.
In practice
Cloudflare gives the provider's server a fixed time to accept a connection. When the server is overloaded, under attack, or its network drops packets, the connection never completes and Cloudflare shows 522 instead of waiting forever.
Peak-time 522s that disappear late at night point to an overloaded server. 522s at any hour that last a long time usually mean the provider's server or network is down.
A 522 can also be a side effect of an attack. IPTV panels are frequent targets of flood attacks, and a server busy dropping attack traffic stops answering Cloudflare as well. Such outages often come in waves of a few minutes on and off. Opening the playlist on mobile data at the same moment helps you report it: if mobile data shows the same Cloudflare page, the fault is certainly not your home connection, and the screenshot with its Ray ID is the most useful thing to send.
Where you see it
- At peak times on overloaded panels.
- During network problems at the provider's host.
Common causes
- Overloaded origin server.
- Network outage at the provider's data centre.
- Origin firewall silently dropping connections.
How to fix it
- Retry after a few minutes.
- Use a backup server address if the provider has one.
- Report it if it lasts more than an hour.
Frequently asked questions
Is my internet slow?
No. The time-out happened between Cloudflare and the provider, not on your line.
Does restarting my router help?
No. The time-out is between Cloudflare and the provider. Your router is not involved.