We have a cluster with 2 nodes running ES 2.1.0 and we are running a few tests by hitting only one of the nodes. One of the tests tries to index a document before running the actual test. We have seen errors trying to index a document if the server is not hit for a longer period of time. The test uses the pyhton client library to index the document and we are seeing Error indexing document on server:9200/documents with status: N/A as seen below
PUT http://server:9200/documents/document/d94b07f48d6b090245219e5ba1d5a4d1?refresh=true [status:N/A request:10.068s]
The weird part is that the test fails 1st time and then runs without issues. Is there an idle state or some configuration that we are not aware of that could cause this behaviour?