Error code guide504 Gateway Timeout

Website shows 504 Gateway Timeout

A gateway waited too long for an upstream service to respond. Slow database work, overloaded application servers, network faults, or timeout settings commonly cause HTTP 504.

Model check required. HTTP status meaning is standard, but the operational cause depends on the website, CDN, gateway, application, and account context.
Reviewed Jul 17, 20265 minute guideWebsiteWebsites and web APIs
Quick answer

A gateway waited too long for an upstream service to respond. Slow database work, overloaded application servers, network faults, or timeout settings commonly cause HTTP 504.

Start here: Wait and retry once. A temporary slow request can complete on a later attempt.
Guided check

Match the symptom, then work through the safe checks.

0/4 checked

1. What best matches what you observe?

2. Complete only the checks that are safe for you.

4 user-level checks are available in this guide.Stop immediately if any warning condition applies.
Show stop conditions
  • The page handles payment or identity and you cannot confirm whether an action completed
  • The site redirects to an unexpected domain or asks for sensitive information

Likely causes

  • The upstream application is too slow or overloaded
  • A database or external dependency is not responding in time
  • A proxy, CDN, or load balancer timeout is shorter than the task
  • A network path between gateway and origin is failing

Quick checks, in order

Wait and retry once

A temporary slow request can complete on a later attempt.

safe

Check the service status page

Look for acknowledged latency or outage reports.

safe

Do not repeat a payment or order blindly

Verify whether the original action completed before submitting again.

caution

If you own the site, trace the slow upstream call

Inspect gateway logs, application timings, database queries, and dependency latency.

caution

Where does the HTTP error appear?

Only long actions fail

The task duration or upstream timeout is likely too high.

All pages time out

The origin, database, or network path may be broadly unhealthy.

A payment timed out

Check order history before retrying to avoid duplicate transactions.

Stop and get qualified help when

Do not continue troubleshooting if any of these apply:
  • The page handles payment or identity and you cannot confirm whether an action completed
  • The site redirects to an unexpected domain or asks for sensitive information

Official support and model manuals

Use the full model number from the rating label. The manufacturer manual is the deciding reference when codes differ by region or product family.

Frequently asked questions

What does HTTP 504 mean?

A gateway waited too long for an upstream service to respond.

Is this usually a browser problem?

Usually not. Browser state can contribute in some cases, but gateway, server, permission, rate-limit, or upstream conditions are common.

Keep diagnosing

Related troubleshooting guides

View more →
Internet & Wi-Fi5 min
403 Forbidden

Website shows 403 Forbidden

The server understood the request but refuses to authorize it. Permissions, login state, region, IP reputation, security rules, or a private resource can produce HTTP 403.

Internet & Wi-Fi5 min
429 Too Many Requests

Website shows 429 Too Many Requests

The service is rate-limiting requests from the browser, account, app, or IP address. Repeated refreshes, automation, extensions, shared networks, or service limits can trigger HTTP 429.

Internet & Wi-Fi5 min
502 Bad Gateway

Website shows 502 Bad Gateway

A gateway or proxy received an invalid response from an upstream server. The website, hosting platform, CDN, load balancer, or origin service is usually responsible for HTTP 502.