# Encountered a retryable error in Logstash 5.6.3

**URL:** <https://discuss.elastic.co/t/encountered-a-retryable-error-in-logstash-5-6-3/105409>\
**Category:** Logstash\
**Created:** [October 26, 2017, 10:59am UTC](https://discuss.elastic.co/t/encountered-a-retryable-error-in-logstash-5-6-3/105409 "2017-10-26T10:59:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwolf86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lwolf86/32/23455_2.png) [@lwolf86](https://discuss.elastic.co/u/lwolf86)\
**Post date:** [October 26, 2017, 10:59am UTC](https://discuss.elastic.co/t/encountered-a-retryable-error-in-logstash-5-6-3/105409/1 "2017-10-26T10:59:02Z")

</div>

I'm using logstash 5.6.3 with filebeat input and output to elasticsearch. Dealing huge amount of logs, filebeat reads about 100GB logs. In the begining , everything works fine, but after about 30 minutes. Logstash get this errors:

```auto
[2017-10-26T18:22:44,444][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :body=>"{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"request body is required\"}],\"type\":\"parse_exception\",\"reason\":\"request body is required\"}
,\"status\":400}"}
[2017-10-26T18:23:17,262][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :body=>"{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"request body is required\"}],\"type\":\"parse_exception\",\"reason\":\"request body is required\"}
,\"status\":400}"}

```

this log keeps showing. When this happens, elasticsearch didn't get any errors. There still has data ingest into elasticsearch.  
I had DLQ enabeld, but there is no event in the dead\_letter\_queue directory. Only one file 1.log in it, and there is no content in the file.  
the setting of logstash.yml is:

```auto
config.reload.automatic: true
config.reload.interval: 3
queue.type: persisted
queue.max_bytes: 50gb
queue.max_events: 0
dead_letter_queue.enable: true

```

---

<div class="post-metadata">

**Author:** ![Jose\_Ramierez](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Jose\_Ramierez](https://discuss.elastic.co/u/Jose_Ramierez)\
**Post date:** [November 17, 2017, 9:00pm UTC](https://discuss.elastic.co/t/encountered-a-retryable-error-in-logstash-5-6-3/105409/2 "2017-11-17T21:00:49Z")

</div>

Did you solve this?  
I am hitting a similar issue, (looks the same): [Log full of "encountered retryable error" and logstash stopped listening](https://discuss.elastic.co/t/log-full-of-encountered-retryable-error-and-logstash-stopped-listening/108193?u=jose_ramierez)

---

<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:** [December 15, 2017, 9:00pm UTC](https://discuss.elastic.co/t/encountered-a-retryable-error-in-logstash-5-6-3/105409/3 "2017-12-15T21:00:55Z")

</div>

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