# Logstash error "there are no living connections in the connection pool"

**URL:** <https://discuss.elastic.co/t/logstash-error-there-are-no-living-connections-in-the-connection-pool/238171>\
**Category:** Logstash\
**Created:** [June 23, 2020, 2:51am UTC](https://discuss.elastic.co/t/logstash-error-there-are-no-living-connections-in-the-connection-pool/238171 "2020-06-23T02:51:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SNJY](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/snjy/32/42758_2.png) [@SNJY](https://discuss.elastic.co/u/SNJY)\
**Post date:** [June 23, 2020, 2:51am UTC](https://discuss.elastic.co/t/logstash-error-there-are-no-living-connections-in-the-connection-pool/238171/1 "2020-06-23T02:51:29Z")

</div>

Logstash instance is connected to an ES cluster behind a load balancer.  
The load balancer has an idle timeout of 5 minutes.  
Logstash is configured with the ES url corresponding to the loadbalancer ip.

There are random error messages as below -

[2020-06-18T01:10:05,698][WARN][logstash.outputs.elasticsearch] UNEXPECTED POOL ERROR {:e=\>#\<LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError: No Available connections\>}

[2020-06-18T01:10:05,699][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch, but no there are no living connections in the connection pool. Perhaps Elasticsearch is unreachable or down? {:error\_message=\>"No Available connections", :class=\>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError", :will\_retry\_in\_seconds=\>2}

Could someone please suggest fix for 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:** [July 21, 2020, 2:51am UTC](https://discuss.elastic.co/t/logstash-error-there-are-no-living-connections-in-the-connection-pool/238171/2 "2020-07-21T02:51:30Z")

</div>

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