# \[Logstash 5.6.2\] Attempted to resurrect connection to dead ES instance

**URL:** <https://discuss.elastic.co/t/logstash-5-6-2-attempted-to-resurrect-connection-to-dead-es-instance/102911>\
**Category:** Logstash\
**Created:** [October 5, 2017, 8:49pm UTC](https://discuss.elastic.co/t/logstash-5-6-2-attempted-to-resurrect-connection-to-dead-es-instance/102911 "2017-10-05T20:49:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernandofot](https://avatars.discourse-cdn.com/v4/letter/f/dbc845/32.png) [@fernandofot](https://discuss.elastic.co/u/fernandofot)\
**Post date:** [October 5, 2017, 8:49pm UTC](https://discuss.elastic.co/t/logstash-5-6-2-attempted-to-resurrect-connection-to-dead-es-instance/102911/1 "2017-10-05T20:49:39Z")

</div>

Hi Experts,

I'm newbie in Elasticsearch. I installed ElasticSearch, Kibana and even Logstash. And there is a problem. I am using all components in version 5.6.2. I know that there are many topics about my issue, and believe it, I have read all of them, but none of them helped me.

I installed all components in a single node, Also I installed x-packs. ElasticSearch and Kibana working fine. When I try to start Logstash, it has appeared the log below:

[WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"[http://172.16.0.179:9200/](http://172.16.0.179:9200/)", :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=\>"Got response code '401' contacting Elasticsearch at URL '[http://172.16.0.179:9200/](http://172.16.0.179:9200/)'"}

Here is my file:

input { stdin {} }  
output {  
elasticsearch {  
hosts =\> ["[http://172.16.0.179:9200](http://172.16.0.179:9200)"] }  
stdout { codec =\> rubydebug }

Thanks in Advance  
Fernando Moreira

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 5, 2017, 11:30pm UTC](https://discuss.elastic.co/t/logstash-5-6-2-attempted-to-resurrect-connection-to-dead-es-instance/102911/2 "2017-10-05T23:30:11Z")

</div>

401 is an authorisation error. Did you try adding in the default username and password (elastic/changeme) into the output?

---

<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:** [November 2, 2017, 11:30pm UTC](https://discuss.elastic.co/t/logstash-5-6-2-attempted-to-resurrect-connection-to-dead-es-instance/102911/3 "2017-11-02T23:30:17Z")

</div>

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