Skip to content

Long processing times while uploading to S3 #19223

@solracsf

Description

@solracsf

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

image

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions