# RestHighLevelClient elastic listener timeout after waiting for \[300000\] ms

**URL:** https://discuss.elastic.co/t/resthighlevelclient-elastic-listener-timeout-after-waiting-for-300000-ms/215869
**Category:** Elasticsearch
**Created:** [January 21, 2020, 11:16am UTC](https://discuss.elastic.co/t/resthighlevelclient-elastic-listener-timeout-after-waiting-for-300000-ms/215869 "2020-01-21T11:16:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ANGI2019](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/angi2019/32/61124_2.png) [@ANGI2019](https://discuss.elastic.co/u/ANGI2019)
#### Post date: [January 21, 2020, 11:16am UTC](https://discuss.elastic.co/t/resthighlevelclient-elastic-listener-timeout-after-waiting-for-300000-ms/215869/1 "2020-01-21T11:16:07Z")

</div>

we're running a 3 node cluster of Elasticsearch, version 6.2.4

we launch an integration of new data by batch every morning.  
we have listener timeout after waiting for [300000] ms every first request

restHighLevelClient.bulk(request);

we have this error after a moment of inactivity of the culster in this case All night inactivity

Is there a way to fix it?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 18, 2020, 11:16am UTC](https://discuss.elastic.co/t/resthighlevelclient-elastic-listener-timeout-after-waiting-for-300000-ms/215869/2 "2020-02-18T11:16:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
