When you send POST requests to websites protected by Anti-DDoS Pro or Anti-DDoS Premium, 504 errors occur due to a long waiting period and the requests fail.
- The default timeout period for TCP connections is 900 seconds.
- The default timeout period for HTTP and HTTPS connections is 120 seconds.
- We recommend that you configure a heartbeat mechanism to process time-consuming requests at the application layer. This mechanism helps keep connections alive during the waiting time.
- You can send occasional requests to backend ECS instances. These requests bypass Anti-DDoS Pro or Anti-DDoS Premium.