I have a 4 nodes elasticsearch cluster and they're some m4.2xlarge machines. I have processes indexing while some processes querying the index. And I got a read timed out error from elasticsearch.
I'm using the elasticsearch-py and elasticsearch-dsl library. I've tried to increase the timeout to 60 seconds and max retry to 10 but still getting the timeout error (in some of the processes). What is the underlying cause of this time out error? And how can I resolve the time out error?
This is the error I got:
elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host=u'es_cluster', port=9200): Read timed out. (read timeout=60))
Anything will be helpful. Appreciate it!