-
When generating report in OpenSearch Dashboard, it runs about 1 minute and failed. The status code is 504 Gateway Timeout. How to fix it? |
Beta Was this translation helpful? Give feedback.
Answered by
Paul-AWS
Apr 3, 2023
Replies: 1 comment
-
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.
If this issue still exist, check the Nginx idle timeout in Access Proxy instances. |
Beta Was this translation helpful? Give feedback.
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
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.