502 or 504?
A load balancer returns 504 Gateway Timeout. What does that usually mean?
Part of Cloud Architecture in Practice. Next step: Connection Refused vs Timeout
Choose one answer
The load balancer had no healthy targets registered for the request.
The backend didn't respond within the load balancer's timeout.
The client took too long to send its request to the load balancer.
The backend closed the connection or sent an invalid response.