Skip to content

Why does report generation always fail with a 504 Timeout error? #100

Answered by Paul-AWS
Paul-AWS asked this question in Q&A
Discussion options

You must be logged in to vote

It’s because the default ALB idle timeout is 60s, while the generation of report may need more than 60s. So the ALB disconnect the session with OpenSearch after timeout. You need to change the ALB idle timeout setting to increase the connecting time to assure the completion of report generation.

  1. In Centralized Logging with OpenSearch console, click the “OpenSearch Domains” in the left sidebar, then choose the OpenSearch cluster that you are using.
  2. In “Access Proxy”, copy the “Load Balancer Domain” parameter.
  3. Visit the EC2 console, and search the “Load Balancer Domain” you copied last step in the “Load Balancers”. Choose the load balancer, click “Actions”, then click “Edit attributes”.
  4. In…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Paul-AWS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant