upstream sent too many data while reading

Maxim Dounin mdounin at mdounin.ru
Mon Oct 10 16:08:10 UTC 2011


Hello!

On Sun, Oct 09, 2011 at 06:47:52PM -0400, codetr wrote:

> How do I make it

Log line in question contains request and backend server 
responsible for request processing.  The problem is not in nginx, 
it's in your backend.  You have to find out problematic code in  
your backend and fix it.

As I already said, problem is that your backend sent response with 
Content-Length which doesn't match length of actual data sent.  
Most likely it's some script which incorrectly calculates 
Content-Length.

Maxim Dounin



More information about the nginx mailing list