# ..request retries exceeded max retry timeout \[30000\]

**URL:** <https://discuss.elastic.co/t/request-retries-exceeded-max-retry-timeout-30000/124007>\
**Category:** Beats\
**Tags:** beats-development\
**Created:** [March 14, 2018, 11:21pm UTC](https://discuss.elastic.co/t/request-retries-exceeded-max-retry-timeout-30000/124007 "2018-03-14T23:21:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanaramis](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@juanaramis](https://discuss.elastic.co/u/juanaramis)\
**Post date:** [March 14, 2018, 11:21pm UTC](https://discuss.elastic.co/t/request-retries-exceeded-max-retry-timeout-30000/124007/1 "2018-03-14T23:21:15Z")

</div>

Hi team,

I'm receiving this error:

org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution  
at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:93)  
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:47)  
at org.elasticsearch.action.bulk.Retry.withSyncBackoff(Retry.java:104)  
at org.elasticsearch.action.bulk.BulkRequestHandler$SyncBulkRequestHandler.execute(BulkRequestHandler.java:86)  
at org.elasticsearch.action.bulk.BulkProcessor.execute(BulkProcessor.java:350)  
at org.elasticsearch.action.bulk.BulkProcessor.executeIfNeeded(BulkProcessor.java:341)  
at org.elasticsearch.action.bulk.BulkProcessor.internalAdd(BulkProcessor.java:276)  
at org.elasticsearch.action.bulk.BulkProcessor.add(BulkProcessor.java:259)  
at org.elasticsearch.action.bulk.BulkProcessor.add(BulkProcessor.java:255)  
at com.ms.esm.eva.tools.ElasticSearchUtil.addToBulk(ElasticSearchUtil.java:205)  
at com.ms.esm.eva.tools.ElasticSearchUtil.lambda$sent$1(ElasticSearchUtil.java:144)  
at java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3566)  
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)  
at com.ms.esm.eva.tools.ElasticSearchUtil.sent(ElasticSearchUtil.java:144)  
at com.ms.esm.thebus.metrics.Aggregator.storeInElasticsearch(Aggregator.java:154)  
at com.ms.esm.thebus.metrics.Aggregator.main(Aggregator.java:93)  
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: request retries exceeded max retry timeout [30000]  
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:262)  
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:249)  
at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:91)  
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:42)  
... 14 common frames omitted  
Caused by: java.io.IOException: request retries exceeded max retry timeout [30000]

using BulkProcessor with High-Level REST Client..:

```
  try(BulkProcessor bulkProcessor = new BulkProcessor.Builder(rHLClient::bulkAsync,
                                                                listener,
                                                                new ThreadPool(Settings.builder().put(Node.NODE_NAME_SETTING.getKey(), "high-level-client").build()))
                                                                .setConcurrentRequests(0)
                                                                .setBulkSize(new ByteSizeValue(20, ByteSizeUnit.MB))
                                                                .setBulkActions(500)
                                                                .build()

```

Any help on this please?

Thanks

J.

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [March 16, 2018, 8:44am UTC](https://discuss.elastic.co/t/request-retries-exceeded-max-retry-timeout-30000/124007/2 "2018-03-16T08:44:31Z")

</div>

In which way is this related to beats? Did you mean to ask this question in the Elasticseach Clients forum?

---

<div class="post-metadata">

**Author:** ![juanaramis](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@juanaramis](https://discuss.elastic.co/u/juanaramis)\
**Post date:** [March 16, 2018, 8:12pm UTC](https://discuss.elastic.co/t/request-retries-exceeded-max-retry-timeout-30000/124007/3 "2018-03-16T20:12:48Z")

</div>

Sorry if this is not the right place.

I was running out of resource in the cluster so it took more time to process my bulk. I just added more cpu and memory and it's working well now.

Thanks

---

<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:** [April 13, 2018, 8:12pm UTC](https://discuss.elastic.co/t/request-retries-exceeded-max-retry-timeout-30000/124007/4 "2018-04-13T20:12:53Z")

</div>

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