HTTP status code 504 (Gateway Timeout) means: A gateway or proxy server did not get a response in time from the server behind it. Yes, a server error: the website failed to handle the request. Usually only the site owner or host can fix it.
Is it an error?
Yes, a server error: the website failed to handle the request. Usually only the site owner or host can fix it.
Common causes
- Backend server or a slow task took too long to respond
- Server overloaded, out of resources or under maintenance
- DNS records pointing to the wrong server
If you are visiting the site
- Wait a few minutes before trying again
- Reload the page
- Check your connection, or try without a VPN or proxy
If you run the website
- Speed up slow requests, run long jobs in the background or raise proxy timeouts
- Make sure the backend (e.g. PHP-FPM or app server) is running and responding
- Check that DNS A/AAAA records point to the correct server IP
Frequently asked questions
What does HTTP 504 mean?
HTTP status code 504 (Gateway Timeout) means: A gateway or proxy server did not get a response in time from the server behind it.
Is HTTP 504 an error?
Yes, a server error: the website failed to handle the request. Usually only the site owner or host can fix it.
How do I fix a 504 error?
If you are visiting the site: Wait a few minutes before trying again; Reload the page; Check your connection, or try without a VPN or proxy. If you run the website: Speed up slow requests, run long jobs in the background or raise proxy timeouts; Make sure the backend (e.g. PHP-FPM or app server) is running and responding; Check that DNS A/AAAA records point to the correct server IP.