Random Nginx Internal Server Error

I've no idea what causes this, it just happened randomly, even from the same page.

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

"upstream sent too much data while reading upstream"

Nginx version: 1.2.4

Any help would be appreciated!

Thanks

2 Replies

A quick google suggest that your back end is sending more data than your content length header. What back end are you using?

Backend is a gunicorn/django setup.

After checking on the backend side, I found out that this was caused by a misplaced import.

Thanks!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct