Elastic Search 5.6 - Getting HTTP/1.1 504 Gateway Timeout

We are using ES 5.6. Our application (Java,Play) keeps on receiving requests on application-akka.actor.default-dispatcher and response for those will be collected by ForkJoinPool.commonPool-worker threads from elastic. At a certain time, we see sudden increase in requests on application-akka.actor.default-dispatcher and for a minute or so there is no log for ForkJoinPool.commonPool-worker threads and next thing we see is HTTP/1.1 504 Gateway Timeout on some requests and then logs for ForkJoinPool.commonPool-worker is back and they are supplied with more requests from.application-akka.actor.default-dispatcher and making queued tasks in elastic more than 1000. We can see this in logs and following that there are errors like 429 Too Many Requests and 503 Service Unavailable. And that is making application crash. I think we are missing some config in elastic side which is making first 504 Error. We are not using any proxy between our application and Elastic.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.