Skip to content

TUS / Chunking seems to not work (at least if behind cloudflare) - can't upload files >100mb #75

@bahmrockk

Description

@bahmrockk

Hello,

If I can provide any more helpful information let me know, I'll happily do any test.

Actual Behavior
With a default server installation, the android client tries to upload files in a single upload, obeying a "filesBigChunking" variable instead of tus_support information.

Expected Behavior
Chunk my files :-)

Environment

OpenCloud Server Version: 4.1.0,
self-hosted, defaults from the reference compose w/o extra features. Behind nginx proxy manager and cloudflare. The latter is the "proof of the issue".

Android App Version: 1.0.0

Details

When uploading files that are larger than.
The android log is unbelievable large even when running only the seconds for the failed upload. The interesting things from what I can telll are>

filesBigFileChunking=FALSE

but the server sends>

"tus_support": {
  "version": "1.0.0",
  "resumable": "1.0.0",
  "extension": "creation,creation-with-upload",
  "max_chunk_size": 10000000,
  "http_method_override": ""
}

The android app still says>
D: 2025-12-20 08:18:48:568(UploadFileFromFileSystemWorker.kt:233)
Chunking is allowed: false, and file size is greater than the minimum chunk size: true

So it seems to use a bool that I don't know how to change instead of the tus_support variables. This leads to a single upload event which then returns 413 from cloudflare as it exceeds its 100MB limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions