Random Internal Server Error

Hi,

I’m having trouble with my nginx showing totally random Internal Server
Error.

I’m running gunicorn with nginx as a reverse proxy. My error log (info)
shows:

“upstream sent too much data while reading upstream” and client x.x.x.x
closed keepalive connection

nginx version: 1.2.4

Any help would be appreciated!

thanks

Posted at Nginx Forum:

Hello!

On Wed, Dec 12, 2012 at 05:49:11PM -0500, mattphi wrote:

nginx version: 1.2.4

Any help would be appreciated!

The “upstream sent too much data” error means your upstream
(backend) server returned incorrect response, with Content-Length
not matching the content returned. This indicate something wrong
happens on your backend, either in your code or in the
framework/backend server you use, and might result in undefined
behaviour.


Maxim D.

Hey Maxim!

Yes, indeed. After more in depth debugging on the backend side, it was
caused by misplaced imports.

Thanks!

Maxim D. Wrote:

I’m running gunicorn with nginx as a reverse proxy. My error log


nginx mailing list
[email protected]
nginx Info Page

Posted at Nginx Forum: