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

Offen
#4,491 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
kotlin
Bereich
mobile

Rechercherichtung

Beginne damit, den Upload-Ablauf der Android-App nachzuverfolgen, wenn sie mit einem OCIS 5.0.8-Backend hinter Traefik verbunden ist, und reproduziere anschließend einen Upload, der länger als 60 Sekunden dauert. Vergleiche das aktuelle Wiederholungsverhalten mit dem angeforderten Verhalten für chunked und resumable uploads; als erledigt gilt die Aufgabe, wenn große oder bandbreitenbegrenzte Uploads das Proxy-Timeout überstehen und ab ihrem vorherigen Fortschritt fortgesetzt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Kotlin
Sterne
4.2k
Forks
3.1k
Ø Merge
3 T. 13 Std.
Gemergte PRs (30 T.)
15

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus owncloud/android

Alle Issues in owncloud/android

Ähnliche Issues

Weitere Issues zu Kotlin

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.