Forum: NGINX Random Internal Server Error

Posted by mattphi (Guest)
on 2012-12-12 23:49
(Received via mailing list)
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: 
http://forum.nginx.org/read.php?2,233947,233947#msg-233947
Posted by Maxim Dounin (Guest)
on 2012-12-13 11:58
(Received via mailing list)
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 Dounin
http://nginx.com/support.html
Posted by mattphi (Guest)
on 2012-12-13 12:44
(Received via mailing list)
Hey Maxim!

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

Thanks!

Maxim Dounin Wrote:
-------------------------------------------------------
> > I'm running gunicorn with nginx as a reverse proxy. My error log
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,233947,233963#msg-233963
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.