Now that someone else mentioned, yes, I believe we have the same problem. I run Django thru FastCGI to a Cherokee Web Server, and occasionally, uploads fail to continue (the traceback shows that the code hanged at consuming the input stream, then the connection got reset by the client's browser, raising EOFError).
At first, I filled a bug against Cherokee, but it didn't turned out that we were able to narrow the issue. Now I know it's not related to the web server, as you run Lighttpd. The only things I can think of are, a bug on FastCGI (Flup), Django, or a bug only triggered when you run Django thru FastCGI. I've also ran my Django install with SCGI, and with different options (fork / threaded), but the intermittent error persists. SCGI still uses Flup though. This bug proved to be really, really hard to reproduce or track down. I only get it because I run a SaaS with dozens users uploading photos every day, and some requests happen to fail starting the upload and end 500'ing. What about filling a ticket against Django? On 2 ago, 18:49, Eric Chamberlain <e...@rf.com> wrote: > We have an intermittent problem when uploading files. About one in five > uploads fails, when the MultiPartParser receives an HTTP_CONTENT_LENGTH of > zero. > > We are running Django with lighttpd and fastcgi, has anyone else encountered > this problem? > > -- > Eric Chamberlain -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.