mbraak/django-file-form

Rises 104 error connection reset by peer

florianmuetzel opened this issue · 6 comments

On Python 3.9 large files > 100MB can not be uploaded due to a erno 104 connection reset by peer issue.

tested with: NGINX + GUNICORN and NGINX + uWSGI @ @ #407

I'll try to reproduce this

I tested this on Python 3.9 on OSX with Gunicorn and Whitenoise (for the static files). I could not reproduce the error.

Do you see a progress bar while uploading the file?

Yes but the reset bar resets and resets and finally there is an "Upload failed" error message.

Ok, thanks for the info.

Maybe memory problems? I experienced all sorts of errors when uploading large files to local servers, and switched to upload to S3. In addition to unlimited file size (tested with 50G+ blue ray movie), even a weak server with 4G of RAM can handle large amount of user uploads simultaneously since AWS (or digital ocean) will be doing all the heavy lifting.

Closing the issue because there has been no recent activity.