Elasticsearch - Error Timeout 599


#1

Hello everyone!
I am having some issues with Elasticsearch:

FATAL : EXCEPTION Search::Elasticsearch::Error::Timeout:
FATAL + | [Timeout] ** [http://127.0.0.1:9200]-[599] Timed out while waiting for socket to become ready for reading, called from sub Search::Elasticsearch::Transport::try {...} at /usr/share/perl5/Try/Tiny.pm line 81

Any suggestion?

Thanks!!!


(Mark Walkom) #2

Is ES up and running?


#3

Yes. It is up and running.


(Lawrence) #4

Hi,

I have the same error :

 [Timeout] ** [http://127.0.0.1:9200]-[599] Timed out while waiting for socket to become ready for reading, called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at ...

This happens sometimes when I do aggregations, any idea ?

Update : Tested in version 5.2.0, 5.3.0, 5.4.0


#5

I had the same problem, however using a higher value for request time out fixed it.

http://search.cpan.org/~drtech/Search-Elasticsearch-5.02/lib/Search/Elasticsearch/Role/Cxn.pm

$e = Search::Elasticsearch->new(
request_timeout => 30
)