cloud foundry - 413 Request Entity Too Large

1.1k views Asked by At

I'm using Cloud Foundry v2. Trying to make REST call with ~12MB body size to one of my apps, and getting error 413 Request Entity Too Large with the following headers:

X-Cf-Requestid    c80a7e06-7102-459e-721a-251189596ece
Date              Sun, 07 Jun 2015 08:20:45 GMT
Content-Length    0
Content-Type      text/plain; charset=utf-8

What is the default body size limit in cloud foundry? How to configure it?

2

There are 2 answers

0
ldmberman On

Consider asking this question on mailing lists - cf-bosh.lists.cloudfoundry.org for BOSH related topics or cf-dev.lists.cloudfoundry.org for CF related topics or cf-lattice.lists.cloudfoundry.org for Lattice related topics. The Cloud Foundry community is highly responsive there and you will probably get an answer fast.

Also, there is UI, where you can view all the existing mailing threads. These are links for the first, second and third lists accordingly.

0
Avia On

Discovered as Netty's limitation. Default is 10MB, but can easily be changed by calling setMaxRequestSize on NettyJaxrsServer instance.