# error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable:

**URL:** <https://discuss.elastic.co/t/error-type-logstash-hostunreachableerror-error-elasticsearch-unreachable/284803>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [September 22, 2021, 5:48am UTC](https://discuss.elastic.co/t/error-type-logstash-hostunreachableerror-error-elasticsearch-unreachable/284803 "2021-09-22T05:48:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![padamrai](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@padamrai](https://discuss.elastic.co/u/padamrai)\
**Post date:** [September 22, 2021, 5:48am UTC](https://discuss.elastic.co/t/error-type-logstash-hostunreachableerror-error-elasticsearch-unreachable/284803/1 "2021-09-22T05:48:26Z")

</div>

I am using the docker configuration on the server. I am not that much familiar with docker. Before docker, it is working fine but now it is not working and throwing an error.

```auto
elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error.
 {:url=>"http://elastic:xxxxxx@xxx.xxx.xxx.xx:9200/", 
:error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, 
:error=>"Elasticsearch Unreachable: [http://elastic:xxxxxx@xxx.xxx.xxx.xx:9200/]
[Manticore::ConnectTimeout] connect timed out"}

```

My output configuration file is:

```auto
output{
elasticsearch {
    hosts=>"http://xxx.xxx.xxx.xx:9200"
    index => "final_inter_sms"
    user=> "xxx"
    password=> "xxxxx"
    document_id=>"%{[ReferenceId]}"
  }
stdout{
    codec => rubydebug
  }
}

```

---

<div class="post-metadata">

**Author:** ![Sammeta\_David\_Raju](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sammeta_david_raju/32/50466_2.png) [@Sammeta\_David\_Raju](https://discuss.elastic.co/u/Sammeta_David_Raju)\
**Post date:** [September 22, 2021, 7:04am UTC](https://discuss.elastic.co/t/error-type-logstash-hostunreachableerror-error-elasticsearch-unreachable/284803/2 "2021-09-22T07:04:50Z")

</div>

> [@padamrai](#):
>
> `n`

Hi ,  
can u check if ur Elasticsearch running in docker container?

---

<div class="post-metadata">

**Author:** ![padamrai](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@padamrai](https://discuss.elastic.co/u/padamrai)\
**Post date:** [September 22, 2021, 7:05am UTC](https://discuss.elastic.co/t/error-type-logstash-hostunreachableerror-error-elasticsearch-unreachable/284803/3 "2021-09-22T07:05:29Z")

</div>

Yes, It is running

---

<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:** [October 20, 2021, 7:05am UTC](https://discuss.elastic.co/t/error-type-logstash-hostunreachableerror-error-elasticsearch-unreachable/284803/4 "2021-10-20T07:05:50Z")

</div>

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