# Logstash lost connectivity to ElasticSearch

**URL:** <https://discuss.elastic.co/t/logstash-lost-connectivity-to-elasticsearch/127006>\
**Category:** Logstash\
**Created:** [April 5, 2018, 11:33pm UTC](https://discuss.elastic.co/t/logstash-lost-connectivity-to-elasticsearch/127006 "2018-04-05T23:33:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrubin](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mrubin](https://discuss.elastic.co/u/mrubin)\
**Post date:** [April 5, 2018, 11:33pm UTC](https://discuss.elastic.co/t/logstash-lost-connectivity-to-elasticsearch/127006/1 "2018-04-05T23:33:34Z")

</div>

My logstash server has been working fine for weeks. No-one has touched it. All of a sudden, it has lost connectivity to ElasticSearch.

The log is filled with "Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: "

However, issuing a `curl` command (e.g. to list all indices) from the same machine, with the same user, works fine.

How can I debug this?

---

<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:** [May 3, 2018, 11:33pm UTC](https://discuss.elastic.co/t/logstash-lost-connectivity-to-elasticsearch/127006/2 "2018-05-03T23:33:44Z")

</div>

Closed on May 3, 2018, 11:33pm UTC

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