silverwind / droppy

**ARCHIVED** Self-hosted file storage
BSD 2-Clause "Simplified" License
1.62k stars 196 forks source link

"Unexpected end of multipart data" for large file uploads #409

Open oliverkurth opened 4 years ago

oliverkurth commented 4 years ago

I am getting this error when uploading big files (bigger than a few GB). This happened when uploading a 10GB file. It's reproducible when uploading using Chrome or IE on Windows 8 and Chrome on MacOS.

May 30 19:59:59 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 02:59:59 [INFO] 192.168.8.214:50908 POST /!/upload?vId=0&to=/&ren
May 30 20:00:13 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:13 [INFO] 192.168.8.214:51098 POST /!/upload?vId=0&to=/&ren
May 30 20:00:50 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:50 [INFO] 192.168.8.214:51104 GET / [304] [1ms]
May 30 20:00:50 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:50 [INFO] 192.168.8.214:51104 GET /!/res/client.js [304] [0
May 30 20:00:50 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:50 [INFO] 192.168.8.214:51104 GET /!/res/style.css [304] [1
May 30 20:00:50 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:50 [INFO] 192.168.8.214:51106 GET /!/res/sprites.png [304] 
May 30 20:00:50 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:50 [INFO] 192.168.8.214:51108 WebSocket [connected]
May 30 20:00:51 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:51 [INFO] 192.168.8.214:51106 GET /!/token [200] [1ms]
May 30 20:00:58 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:00:58 [INFO] 192.168.8.214:51108 WebSocket [disconnected] (Goi
May 30 20:05:20 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:05:20 [ERROR] Unexpected end of multipart data
May 30 20:05:20 raspberrypi docker-compose[15352]: droppy    |     at /droppy/node_modules/dicer/lib/Dicer.js:61:28
May 30 20:05:20 raspberrypi docker-compose[15352]: droppy    |     at processTicksAndRejections (internal/process/task_queues.js:82:9)
May 30 20:05:20 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:05:20 [ERROR] Part terminated early due to unexpected end of m
May 30 20:05:20 raspberrypi docker-compose[15352]: droppy    |     at /droppy/node_modules/dicer/lib/Dicer.js:64:36
May 30 20:05:20 raspberrypi docker-compose[15352]: droppy    |     at processTicksAndRejections (internal/process/task_queues.js:82:9)
May 30 20:05:20 raspberrypi docker-compose[15352]: droppy    | 2020-05-31 03:05:20 [INFO] 192.168.8.214:51098 POST /!/upload?vId=0&to=/&ren

I am using the silverwind/armhf-droppy docker image, downloaded yesterday.