Overview

A server further down the chain didn't respond in a timely manner.

Information

The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.

Further Reading

Specification

504 Gateway Timeout | The HTTP Working Group

504 Gateway Timeout

MDN web docs