# Logstash | elasticsearch - Encountered a retryable error

**URL:** <https://discuss.elastic.co/t/logstash-elasticsearch-encountered-a-retryable-error/114418>\
**Category:** Logstash\
**Created:** [January 7, 2018, 4:26pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-encountered-a-retryable-error/114418 "2018-01-07T16:26:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrs](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rrs](https://discuss.elastic.co/u/rrs)\
**Post date:** [January 7, 2018, 4:26pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-encountered-a-retryable-error/114418/1 "2018-01-07T16:26:33Z")

</div>

We have setup ELK 5.6.3 in cluster method and everything in each layer is running fine, but logstash keep reporting below error even the port 5044 in listening state. Can anyone help me out here.

[ERROR] 2018-01-07 11:19:56.136 [[main]\>worker1] elasticsearch - Encountered a retryable error. Will Retry with exponential backoff {:code=\>401, :url=\>"[http://prd-els01:9200/\_bulk](http://prd-els01:9200/_bulk)"}

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 7, 2018, 4:34pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-encountered-a-retryable-error/114418/2 "2018-01-07T16:34:22Z")

</div>

401 means that authentication credentials are missing or are incorrect. Make sure Logstash is using the right credentials for ES.

---

<div class="post-metadata">

**Author:** ![rrs](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rrs](https://discuss.elastic.co/u/rrs)\
**Post date:** [January 7, 2018, 4:42pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-encountered-a-retryable-error/114418/3 "2018-01-07T16:42:56Z")

</div>

Hi,  
Thank you for quick solution for this. I came to know we protected ELK with READonlyREST which denies my indexes to be created.

We have granted permissions in Elasticksearch to create index for failed one.

Once again thank you.

---

<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:** [February 4, 2018, 4:43pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-encountered-a-retryable-error/114418/4 "2018-02-04T16:43:30Z")

</div>

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