Help Center/ Elastic Load Balance/ Drawer/ Adding a Listener/ Retry on Other Backend Servers
Updated on 2025-07-25 GMT+08:00

Retry on Other Backend Servers

Description

Retry on Other Backend Servers allows the load balancer to attempt to establish connections with other backend servers in the same backend server group, if it fails to connect to a backend server.

If all four retries fail, error code 502 or 504 will be returned.

  • Connection error: If the load balancer cannot connect to a backend server due to an error, such as a failed or rejected connection, error code 502 will be returned.
  • Request timeout: If the backend server does not respond within the timeout duration, error code 504 will be returned.
    • Connection timeout: The load balancer attempts to connect to a backend server but fails within the timeout duration.
    • Response timeout: The load balancer has sent a request to a backend server but does not receive a response within the timeout duration.

Note: If there is an error after the load balancer forwards a request using a non-idempotent request method, such as POST, PATCH, or DELETE, the load balancer will not retry the request.