Install: docker → NC, nginx, redis
Version NC 29.0.8 and 30.0.8
Problem: Nextcloud service crashes when downloading files at low speed.
If I force a low speed, for example 512 kbps, I get the following errors:
Nextcloud:
BadRequest
The expected file size is 1621287 bytes, but 73728 bytes were read and written to storage from the Nextcloud app client. This could be due to a transmission error on the sender’s side or a problem with the storage subsystem on the server side.
Nginx: timeout. nextcloud container unavailable:9000
In the browser I get: ‘504 Gateway Timeout’
At the same time, the download continues and if you wait until it finishes, the service will rise.
At the same time, at the time of slow loading, other clients receive error 504.
With fast loading, the service does not crash.
According to the settings:
nginx standard NGINX configuration — Nextcloud latest Administration Manual latest documentation
Nextcloud basically has everything by default.