Kibana timeout


(Brian S) #1

We are getting the message:

{"type":"log","@timestamp":"2016-03-07T22:28:17+00:00","tags":["status","plugin:elasticsearch","error"],"pid":25493,"name":"plugin:elasticsearch","state":"red","message":"Status changed from green to red - Request Timeout after 30000ms","prevState":"green","prevMsg":"Kibana index ready"}

This seems to say Kibana waited 30000ms (5 minutes) before timing out - but it doesn't - it waits between 2 and 2.5 minutes.

I have changed the configuration to:

Time in milliseconds to wait for responses from the back end or elasticsearch.

This must be > 0

elasticsearch.requestTimeout: 300000

elasticsearch.requestTimeout: 600000

But I get the same results. We'd like it to wait longer than 2.5 minutes for long queries and we'd like to be able to control the wait period.

This is Kibana 4.3.0. Any ideas would be appreciated.


(Joe Fleming) #2

The issue is actually related to node. By default, node will close an open socket after 2 minutes, and Kibana didn't provide a way to specify a longer timeout that would override that node default, so 2 minutes was the upper limit.

This was fixed in a user submission recently, and will be rolled out in 4.5.0.


(system) #3