# Retrying failed action with response code

**URL:** <https://discuss.elastic.co/t/retrying-failed-action-with-response-code/137551>\
**Category:** Logstash\
**Created:** [June 27, 2018, 7:13am UTC](https://discuss.elastic.co/t/retrying-failed-action-with-response-code/137551 "2018-06-27T07:13:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuwenjie\_cn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wuwenjie_cn/32/32514_2.png) [@wuwenjie\_cn](https://discuss.elastic.co/u/wuwenjie_cn)\
**Post date:** [June 27, 2018, 7:13am UTC](https://discuss.elastic.co/t/retrying-failed-action-with-response-code/137551/1 "2018-06-27T07:13:50Z")

</div>

logstash error log:retrying failed action with response code

---

<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:** [June 27, 2018, 8:40am UTC](https://discuss.elastic.co/t/retrying-failed-action-with-response-code/137551/2 "2018-06-27T08:40:33Z")

</div>

We need more details than that.

---

<div class="post-metadata">

**Author:** ![wuwenjie\_cn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wuwenjie_cn/32/32514_2.png) [@wuwenjie\_cn](https://discuss.elastic.co/u/wuwenjie_cn)\
**Post date:** [June 27, 2018, 9:15am UTC](https://discuss.elastic.co/t/retrying-failed-action-with-response-code/137551/3 "2018-06-27T09:15:50Z")

</div>

All log content is the same information

`retrying failed action with response code: 429 ({"type"=>"es_rejected_execution_exception", "reason"=>"rejected execution of org.elasticsearch.transport.TransportService$7@3513cf82 on EsThreadPoolExecutor[name = node1/bulk, queue capacity = 200, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@2fb6bdcb[Running, pool size = 8, active threads = 8, queued tasks = 200, completed tasks = 73229]]"})`

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 27, 2018, 9:19am UTC](https://discuss.elastic.co/t/retrying-failed-action-with-response-code/137551/4 "2018-06-27T09:19:43Z")

</div>

The bulk requests are rejected as the cluster is overloaded. Have a look at [this blog post](https://www.elastic.co/blog/why-am-i-seeing-bulk-rejections-in-my-elasticsearch-cluster) for a discussion around the reasons behind this.

---

<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:** [July 25, 2018, 9:19am UTC](https://discuss.elastic.co/t/retrying-failed-action-with-response-code/137551/5 "2018-07-25T09:19:51Z")

</div>

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