django-file-form icon indicating copy to clipboard operation
django-file-form copied to clipboard

Rises 104 error connection reset by peer

Open florianmuetzel opened this issue 4 years ago • 5 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

florianmuetzel avatar Nov 25 '20 20:11 florianmuetzel

I'll try to reproduce this

mbraak avatar Nov 26 '20 07:11 mbraak

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?

mbraak avatar Nov 26 '20 08:11 mbraak

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

florianmuetzel avatar Nov 26 '20 11:11 florianmuetzel

Ok, thanks for the info.

mbraak avatar Nov 26 '20 11:11 mbraak

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.

BoPeng avatar Jan 14 '21 01:01 BoPeng

Closing the issue because there has been no recent activity.

mbraak avatar Sep 01 '22 05:09 mbraak