# Maxtimeout Reached

**URL:** https://discuss.elastic.co/t/maxtimeout-reached/307486
**Category:** Elasticsearch
**Created:** [June 17, 2022, 9:14am UTC](https://discuss.elastic.co/t/maxtimeout-reached/307486 "2022-06-17T09:14:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Balaji\_Arun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balaji_arun/32/81040_2.png) [@Balaji\_Arun](https://discuss.elastic.co/u/Balaji_Arun)
#### Post date: [June 17, 2022, 9:14am UTC](https://discuss.elastic.co/t/maxtimeout-reached/307486/1 "2022-06-17T09:14:20Z")

</div>

Hi Everyone,  
recently when I try to index a document. The request, response with max-timeout reached  
after a certain point in time, and it starts indexing again.  
Now, I'm trying to find the root cause of that issue. The only thing I'm able to find is one of my master nodes was down at that time. will it result in that timeout issue?  
the infra details of my Elasticsearch are:  
run in Kubernetes  
3 data nodes - each node spec(ram 64GB memory limit 32GB) - heap size - 28GB disk size - 1TB  
3 master nodes - each node spec(ram 16GB memory limit 4GB) - heap size - 4GB disk size - 10GB

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 21, 2022, 1:43am UTC](https://discuss.elastic.co/t/maxtimeout-reached/307486/2 "2022-06-21T01:43:52Z")

</div>

How are you indexing to Elasticsearch?  
What is the full error you are getting?

---

<div class="post-metadata">

### Author: ![Balaji\_Arun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balaji_arun/32/81040_2.png) [@Balaji\_Arun](https://discuss.elastic.co/u/Balaji_Arun)
#### Post date: [June 21, 2022, 4:31am UTC](https://discuss.elastic.co/t/maxtimeout-reached/307486/3 "2022-06-21T04:31:42Z")

</div>

I'm using Nest client in C#  
the method I'm using is ExecuteBulkIndexOperation

````auto
 MaxTimeoutReached:\n# OriginalException: Elasticsearch.Net.ElasticsearchClientException: 
 Maximum timeout reached while retrying request. Call: Status code 504```
````

---

<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 19, 2022, 4:32am UTC](https://discuss.elastic.co/t/maxtimeout-reached/307486/4 "2022-07-19T04:32:36Z")

</div>

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