# How to update http.max\_content\_length in elastic cloud cluster

**URL:** <https://discuss.elastic.co/t/how-to-update-http-max-content-length-in-elastic-cloud-cluster/173577>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [March 23, 2019, 4:50am UTC](https://discuss.elastic.co/t/how-to-update-http-max-content-length-in-elastic-cloud-cluster/173577 "2019-03-23T04:50:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satendrakumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/satendrakumar/32/11506_2.png) [@Satendrakumar](https://discuss.elastic.co/u/Satendrakumar)\
**Post date:** [March 23, 2019, 4:50am UTC](https://discuss.elastic.co/t/how-to-update-http-max-content-length-in-elastic-cloud-cluster/173577/1 "2019-03-23T04:50:54Z")

</div>

I am using an elastic cloud cluster. getting error:

```
Job aborted due to stage failure: Task 1782 in stage 1.0 failed 4 times, most recent failure: Lost task 1782.3 in stage 1.0 (TID 2191, 10.193.89.157, executor 6): org.apache.spark.util.TaskCompletionListenerException: [PUT] on [data_the_284_ingest/my_data/_bulk] failed; server[...] returned [413|Request Entity Too Large:]
    at org.apache.spark.TaskContextImpl.invokeListeners(TaskContextImpl.scala:153)
    at org.apache.spark.TaskContextImpl.markTaskCompleted(TaskContextImpl.scala:131)
    at org.apache.spark.scheduler.Task.run(Task.scala:128)
    at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:384)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

```

is any way to update setting http.max\_content\_length ?

---

<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:** [March 23, 2019, 7:34am UTC](https://discuss.elastic.co/t/how-to-update-http-max-content-length-in-elastic-cloud-cluster/173577/2 "2019-03-23T07:34:07Z")

</div>

Changing that would probably require you to get in contact with Elastic Cloud support. I would however start by looking into why you are sending such large requests. There is a reason the limit is in place as handling very large requests can consume a lot of resources and cause instability.

---

<div class="post-metadata">

**Author:** ![JamesNotJamez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jamesnotjamez/32/45736_2.png) [@JamesNotJamez](https://discuss.elastic.co/u/JamesNotJamez)\
**Post date:** [April 1, 2019, 2:51pm UTC](https://discuss.elastic.co/t/how-to-update-http-max-content-length-in-elastic-cloud-cluster/173577/3 "2019-04-01T14:51:52Z")

</div>

Don't think it can be updated on ECE at the moment.

> [@Http\_max\_content\_length not enforced properly](https://discuss.elastic.co/t/http-max-content-length-not-enforced-properly/170919/2):
>
> The EC/E proxy places its own limit of 200MB on traffic. This limit is not currently configurable This is in addition to any limit from max\_content\_length (which apart from the above is applied as you'd expect) The v2 proxy that is currently being tested and will in due time (no ETA!) replace the current one does not have that limit Alex

---

<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 15, 2019, 2:52pm UTC](https://discuss.elastic.co/t/how-to-update-http-max-content-length-in-elastic-cloud-cluster/173577/4 "2019-04-15T14:52:09Z")

</div>

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