What it means
| Code | 502 |
|---|---|
| Name | Bad Gateway |
| Type | Standard HTTP status |
| Usually caused by | The IPTV provider's servers |
The server you connected to acts as a gateway. The upstream server it forwards to crashed, restarted or answered with something invalid.
In practice
Larger IPTV providers place a proxy or load balancer (often nginx) in front of several panel servers. You connect to the proxy; it forwards your request. A 502 means the proxy is fine but the server behind it crashed, restarted or sent garbage.
These outages are usually short because providers monitor them. If 502 keeps returning at the same time each day, it often matches a scheduled restart or backup on the provider side, worth mentioning when you report it.
From your side, the useful move is to wait two or three minutes and retry once, rather than reloading the app over and over. Every retry is another request the recovering server has to handle. If the error lasts longer than about fifteen minutes, check the provider's status channel, Telegram group or support chat: a long 502 usually means a server failed for good and the provider is moving customers to another one, which can come with a new server address.
Where you see it
- During server restarts.
- When the panel behind a proxy is overloaded.
Common causes
- Panel server restarting or crashed.
- Proxy and panel out of sync after an update.
How to fix it
- Wait a few minutes and retry.
- If you have a backup server address from the provider, try it.
- Report outages lasting more than an hour.
Frequently asked questions
Is 502 a block?
No. Blocks give 403 or connection errors. 502 is an outage between the provider's own servers.
Does 502 affect every channel?
Usually yes, while the server behind the proxy is down. If only one channel gives 502, its stream server is the one failing.