Elasticsearch - Error Timeout 599

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!!!

Is ES up and running?

Yes. It is up and running.

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

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
)

1 Like