Description
Running Nextcloud 17.0.3 behind Cloudflare works fine, unless the upload processing time takes longer than 100s (in our case, uploading files bigger than 2GB trough WebUI to a S3 primary backend). In that case, Cloudflare returns a 524
.
Error when assembling chunks, status code 524
Contacting Cloudflare about this hits on a:
... modify your process so it sends a keep alive request...
Cloudflare will typically wait for a HTTP response from origin server for 100 seconds. If no response (or <8Kb
) is sent by the origin in that time, Cloudflare will close the connection and serve a 524 error page.
So the question is, can (should?) Nextcloud detect those long running processing times and send a keepalive
request every (say) 60 seconds to avoid these problems on some proxies like Cloudflare?