# Attempted to resurrect connection to dead ES instance, but got an error

**URL:** <https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-but-got-an-error/333650>\
**Category:** Logstash\
**Created:** [May 17, 2023, 10:52am UTC](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-but-got-an-error/333650 "2023-05-17T10:52:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [May 17, 2023, 12:35pm UTC](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-but-got-an-error/333650/2 "2023-05-17T12:35:31Z")

</div>

Hi @snalaband,

Welcome to the community! Can you check your logstash configuration? It looks like you're getting an unauthorized error. I would have a look at [this thread](https://discuss.elastic.co/t/logstash-badresponsecodeerror-message-got-response-code-401/299780) for example configuration that should solve the issue.

---

_[View the full topic](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-but-got-an-error/333650)._
