HTTP 504 Gateway Timeout
The server, acting as a gateway, did not receive a timely response from the upstream server. Similar to 502, but specifically due to timeout: the proxy waited for the upstream server's response longer than the configured limit. Common causes: application server overwhelmed with slow operations, heavy database queries, slow external API calls, or network congestion. Increase proxy timeouts cautiously and prefer to optimize the slow operations in the backend. Add distributed tracing to pinpoint which downstream call is responsible.
Part of GalacticaSuite Cosmos — open the API client to test requests.