What it means
| Code | 504 |
|---|---|
| Name | Gateway Timeout |
| Type | Standard HTTP status |
| Usually caused by | The IPTV provider's servers |
The gateway had a time limit, and the upstream server did not answer within it.
In practice
The movie and series lists of a large provider can contain more than 100,000 entries, and many panels build them on demand from the database. If building takes longer than the proxy in front is willing to wait, you get 504 even though the panel would have finished eventually.
Players that request a list category by category avoid the problem because each request is small. TodPlayer switches to that method automatically when the full list fails or arrives cut off, so the import completes even on slow panels.
On live channels a 504 is rarer, because streams start sending data immediately. When it does appear there, the stream server behind the proxy is usually overloaded or restarting, and the channel normally comes back within minutes. If the full movie list keeps failing, importing live TV first and adding movies and series later, or at a quieter hour, is a practical way to get watching straight away.
Where you see it
- When loading the full VOD or series list.
- At peak hours on busy servers.
Common causes
- Very large lists generated on demand.
- Overloaded panel.
- Slow database on the provider's side.
How to fix it
- Retry outside peak hours.
- Load live channels first; movies and series afterwards.
- Use a player that loads lists in parts (TodPlayer does this automatically).
Frequently asked questions
Why only movies and series?
Their lists are much larger than the live channel list, so they hit the server's time limit first.
Does 504 mean my account is fine?
Usually yes: the server accepted the request and simply did not answer in time.