Updated on 2025-07-25 GMT+08:00

Timeout Durations

You can configure and modify timeout durations for your listeners to meet varied demands.

Listener Timeout Durations

  • Idle Timeout (s) is available for Layer 4 (TCP, UDP, and TLS) listeners.
  • Idle Timeout (s), Request Timeout (s), and Response Timeout (s) are available for Layer 7 (HTTP, HTTPS, and QUIC) listeners.

Idle Timeout (s)

Idle Timeout (s) defines the length of time for a connection to keep alive, in seconds. If no request is received within this period, the load balancer closes the connection and establishes a new one with the client when the next request arrives.

Request Timeout (s)

Request Timeout (s) defines the length of time (in seconds) that a load balancer is willing to wait for a client request to finish. The load balancer terminates the connection if a request does not complete within this time.

Response Timeout (s)

Response Timeout (s) defines the length of time (in seconds) after which the load balancer sends a 504 Gateway Timeout error to the client if the load balancer receives no response from the backend server after routing a request to the backend server and receives no response after attempting to route the same request to other backend servers.