Occasionally users of our web application encounter the following error message:
Request Entity Too Large
The requested resource
/ourapp/ourlocation/
does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
We checked our logs, but we were unable to find any entries that seem to correlate with the error above. After doing a little research, I believe that the issue is that some aspect of the request is too large for certain proxy servers and the proxy is returning the 413 error to the user's web browser. (This is just a guess, though.)
Do you have any ideas for figuring out what is causing this error? So far, I have used the Charles Web Debugging Proxy and LiveHTTPHeaders to try and observe how many bytes each request to a given page is using.
Here are a few other questions that might aid in my troubleshooting.
- What is the max cookie size allowed? 4096 bytes?
- What parts of a GET request count against the capacity limit referenced in the error message?
- What is the max size of a GET request?