While attempting to handle certain POST requests, the website protected by Anti-DDoS Pro waits for much longer time than required and returns a 504 error.
- The TCP connection timeout value is 900s.
- The HTTP/HTTPS connection timeout value is 120s.
We recommend that you configure a heartbeat detection for requests with long processing time. Enabling heartbeat detection can help make sure that the connection is active while you wait for a request to be handled.
Additionally, you can bypass Anti-DDoS Pro for certain requests, and have these requests directly access the backend ECS instance.