Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to upload large files when using OCIS backend #4491

Open
mcarbonne opened this issue Oct 7, 2024 · 2 comments
Open

[BUG] Unable to upload large files when using OCIS backend #4491

mcarbonne opened this issue Oct 7, 2024 · 2 comments

Comments

@mcarbonne
Copy link

mcarbonne commented Oct 7, 2024

Actual behavior

When trying to upload a big file (or a small one with limited bandwidth), the upload always fails.
When looking at the reverse proxy logs on server side (traefik), there are some kind of timeout after ~60 seconds (most likely due to traefik's default read timeout of 60s).
Then, If I try to restart the upload, the upload starts again from the beginning.

When searching in existing issues, there is a 4 year old issue (#2978) referring to file upload but I don't know the current status of this feature.

Expected behavior

I was expecting :

  • large files to be uploaded in multiple chunks
  • failed uploads to restarts from where it ended

Steps to reproduce

  1. Use ocis as backend (5.0.8), with traefik as reverse proxy
  2. Try to upload a big file (which takes more than 60 seconds to upload)
  3. wait 60 seconds

Environment data

ownCloud app version: 4.4.0
ownCloud server version: ocis 5.0.8 behind traefik

Logs

I can provide logs if needed, but I think the issue is easy enough to reproduce.

@JuancaG05
Copy link
Collaborator

Hi @mcarbonne! Thanks for opening a new issue! 🍻

The TUS protocol is still not implemented in the Android app. But, as you mentioned, that timeout comes from your proxy, so the best thing you can do here is setting it to a bigger number in traefik or removing it at all. We have TUS introduction in our future roadmap anyway, so we hope we can include it soon 👍

@jesmrec
Copy link
Collaborator

jesmrec commented Oct 10, 2024

Track: #2978

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants