[uWSGI] uwsgi.chunked_read() - IOErrors

2017-11-06 Thread Sean DiZazzo
Hi, I’m having regular errors when using uWSGI’s uwsgi.chunked_read(). I am streaming the data through nginx to uWSGI using chunked transfer-encoding, then grabbing it in my flask app using chunked_read(). It works perfectly most of the time, but sometimes I get the above mentioned error. I’ve

Re: [uWSGI] uwsgi.chunked_read() - IOErrors

2017-11-06 Thread Sean DiZazzo
Thanks, Roberto! >>This generally means the user has closed the connection, adding ignore-write-errors should disable the reporting. I'll add that option and give it a try. Hopefully all of the data still makes it through though. We need every last bit. :) >>This is pretty strange, how uWSGI

Re: [uWSGI] intermittent No module named context_processors when using nginx/uwsgi

2019-01-10 Thread Sean DiZazzo
I don't use django, but can you wrap the import statement with a try/catch and print out additional debug information when it fires? Things like the uwsgi environ or and nginx or python environment variables you can get. On Thu, Jan 10, 2019 at 6:22 AM tk wrote: > > > Le 10/01/2019 à 9:19 AM,