Help Center> Elastic Load Balance> User Guide> FAQs> Listener> What Are the Default Timeout Durations of a Listener?

What Are the Default Timeout Durations of a Listener?

Table 1 lists the default timeout durations of listeners at both Layer 4 and Layer 7 after a load balancer is connected to the backend servers. For details about how to modify the timeout durations, see Modifying a Listener.

  • For shared load balancers, you can configure and modify the timeout durations for TCP, HTTP, and HTTPS listeners.
  • For dedicated load balancers, you can configure and modify the timeout durations for TCP, UDP, HTTP, and HTTPS listeners.
Figure 1 Timeout durations
Table 1 Default timeout durations

Protocol

Type

Description

Default Timeout Duration

TCP

Idle Timeout (keepalive_timout)

Duration for a connection to be kept alive. 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.

300s

UDP

Idle Timeout (keepalive_timout)

300s

HTTP/HTTPS

Idle Timeout (keepalive_timout)

60s

Request Timeout (client_timout)

Duration after which the load balancer closes the connection with the client if the load balancer does not receive a request from the client.

60s

Response Timeout (member_timout)

Duration after which the load balancer sends a 504 Gateway Timeout error to the client if the load balancer receives no response after routing a request to a backend server and receives no response after attempting to route the same request to other backend servers

NOTE:

If sticky sessions are enabled and the backend server does not respond within the response timeout duration, the load balancer returns the 504 error code without attempting to route the same request to other backend servers.

60s