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

ios upload keep waiting #272

Open
2 tasks done
Sarpovski opened this issue Oct 27, 2022 · 25 comments
Open
2 tasks done

ios upload keep waiting #272

Sarpovski opened this issue Oct 27, 2022 · 25 comments
Labels
type:bug Something isn't working

Comments

@Sarpovski
Copy link

Sarpovski commented Oct 27, 2022

Please agree to the following

Summary

hi .When I try to upload something to the cloud with shortcuts or the normal way via cryptomator, things keep at waiting status.

System Setup

  • iOS: 16.1
  • Cryptomator: Cryptomator 2 version 2.4.1(997)

Cloud Type

iCloud Drive, Dropbox, Google Drive, OneDrive

Steps to Reproduce

Set up as described and have the automation running.

or

Try to manually upload in files

Expected Behavior

it happens random files everytime

Actual Behavior

hi. when i try to upload something on cloud via cryptomator with shortcuts randomly things keep at waiting status. its happening without shortcut when i try manually upload. if i force it its uploading fine but when its multiple thing i should do it to every one of it.

Reproducibility

Always

Relevant Log Output

Waiting...

Anything else?

things i tried

-shortcut set up to 3 days so its just 50 thing max
-clear cache in dropbox
-clear cache in cryptomator
-unmount and mount again in phone
-uploaded phone to last update
-deleted both apps and reinstall
-tried in different cloud apps
-tried upload something without cryptomator (it works well)
-opened cellular help when wi-fi bad
-tried manually upload something without shortcut and did the same

IMG_5451
IMG_5452

@Sarpovski Sarpovski added the type:bug Something isn't working label Oct 27, 2022
@phil1995
Copy link
Collaborator

Hi @Sarpovski this is a known issue #3 due to the use of chunked uploads for most of the cloud providers (OneDrive, Google Drive, Dropbox) and the bad support from Apple with their background URLSession which was somehow designed to upload the file in one operation. However, I agree with you that this behavior is far from ideal (and I'm also wondering a bit why this fails for iCloud Drive which is at least on our side a nearly instant operation)! I'll try to figure out a workaround for the current behavior but this can take a while to evaluate and implement.

@Sarpovski
Copy link
Author

Sarpovski commented Oct 30, 2022

i understand that thanks for responding . ill tried more and its not happening for now within 1-20 files but after that its stuck and waiting for manuall upload but thats fine . i m trying ti find a different way to past this problem with shortcuts its making progress if its done ill comment it . thanks again

@serranomorante
Copy link

I would add WebDAV on the cloud type. The same behavior is also happening to me on Nextcloud.

@mikeandreiabano
Copy link

I would add WebDAV on the cloud type. The same behavior is also happening to me on Nextcloud.

+1 on this. Looking forward to your workaround.

@ueismann
Copy link

ueismann commented Jan 25, 2023

Since Jan-17, all my uploads get stuck completely. Even manually retrying to restart the upload only results in error messages (Upload status couldnot be retrieved, or stuck at 20%). Tried all measures (besides re-install) from above.

Config: Hosting.de Nextcloud via WebDAV, iOS 16.1.2, Cryptomator 2.4.5 (1066)

@spiritualcrab
Copy link

Since Jan-17, all my uploads get stuck completely. Even manually retrying to restart the upload only results in error messages (Upload status couldnot be retrieved, or stuck at 20%). Tried all measures (besides re-install) from above.

Config: Hosting.de Nextcloud via WebDAV, iOS 16.1.2, Cryptomator 2.4.5 (1066)

I can confirm I am having the same issue. The new iOS app is extremely buggy, at least with WebDAV. I am forced to use this as they dropped support for the previous one, which used to work perfectly fine.

@phil1995
Copy link
Collaborator

Since Jan-17, all my uploads get stuck completely. Even manually retrying to restart the upload only results in error messages (Upload status couldnot be retrieved, or stuck at 20%). Tried all measures (besides re-install) from above.

Config: Hosting.de Nextcloud via WebDAV, iOS 16.1.2, Cryptomator 2.4.5 (1066)

Do you experience this also while having the Files app in the foreground? I know this is far from ideal but would help us from reproducing the issue. It would also help if you can provide logs. As WebDAV should technically be the most stable "cloud provider" (assuming the server itself is stable) because it just starts uploading the whole file via the background upload to the server so it shouldn't get interrupted after it has been started.

@HerbertNielsen
Copy link

I experience the same problem using WebDAV on MagentaCloud. One file will be uploaded, the following keeps waiting at 2.1MB
After unmounting and remounting the vault all works fine again for the first file.
It seems to happen rather randomly.
I worked for years with B*xcryptor without any problems and hope cryptomator will become as stable as B.

@lovetheguitar
Copy link

Experiencing the same with OneDrive as in #78. 😕

Thanks for the great work nonetheless! 🚀

@phil1995
Copy link
Collaborator

phil1995 commented Feb 6, 2023

@spiritualcrab @ueismann @HerbertNielsen could you please retest WebDAV with the newest App Store version (2.4.6)?

@spiritualcrab
Copy link

@spiritualcrab @ueismann @HerbertNielsen could you please retest WebDAV with the newest App Store version (2.4.6)?

@phil1995 It is working now. Thanks.

@ueismann
Copy link

ueismann commented Feb 6, 2023

@phil1995 I just restarted the iPhone:

  • manual upload works
  • auto-upload (manually via shortcuts) works
  • auto-upload (automatically via automation shortcuts) will be tested automatically tonight :)

@HerbertNielsen
Copy link

I retested WebDAV with the newest App Store version (2.4.6). Upload, download from all sides (Win, IOS) worked.

Thanks a lot to everyone, this helped a lot!

Best Regards

Herbert

@HerbertNielsen
Copy link

HerbertNielsen commented Feb 6, 2023 via email

@ueismann
Copy link

ueismann commented Feb 7, 2023

@phil1995 I just restarted the iPhone:

  • manual upload works
  • auto-upload (manually via shortcuts) works
  • auto-upload (automatically via automation shortcuts) will be tested automatically tonight :)

Hi @phil1995, unfortunately the last point (automation) does not work, uploads still get stuck, see image (originally, this is why I joined this issue).

image

@phil1995
Copy link
Collaborator

phil1995 commented Feb 8, 2023

@phil1995 I just restarted the iPhone:

  • manual upload works
  • auto-upload (manually via shortcuts) works
  • auto-upload (automatically via automation shortcuts) will be tested automatically tonight :)

Hi @phil1995, unfortunately the last point (automation) does not work, uploads still get stuck, see image (originally, this is why I joined this issue).

image

Can you please share the logs because it's showing an error and not waiting (so I guess there might be something useful in the logs). Would be also nice to know how many files were you uploading in total and how many failed?

@ueismann
Copy link

ueismann commented Feb 11, 2023 via email

@tobihagemann
Copy link
Member

The logs can be found in the Cryptomator settings via "Send Log File" (or "Protokolldatei senden").

@phil1995
Copy link
Collaborator

Hallo Philipp, kannst du mir sagen welche Logs du brauchst und wo ich die finde? Gruß Ulrich

Hallo Ulrich,

du kannst die Logs in der Cryptomator App via Einstellungen -> Protokolldatei senden exportieren. Anschließend öffnet sich ein Share Sheet mit dem gezippten Logs Ordner. Die Dateien, die "fileprovider" im Namen enthalten sind hierbei die interessantesten, da hier dein Upload Error verzeichnet sein sollte. Wichtig: die Log Dateien können sensible Daten enthalten. Es ist daher ratsam diese vor dem Upload auf Github zu bereinigen (beispielsweise Datei - / Ordnernamen entfernen) oder diese per Mail an [email protected] senden (bitte in der Mail kurz auf das Issue verlinken, damit das einfacher zugeordnet werden kann).

Liebe Grüße

Philipp

@Mike-Sundays
Copy link

Mike-Sundays commented Feb 26, 2023

@phil1995 I just restarted the iPhone:

  • manual upload works
  • auto-upload (manually via shortcuts) works
  • auto-upload (automatically via automation shortcuts) will be tested automatically tonight :)

Hi @phil1995, unfortunately the last point (automation) does not work, uploads still get stuck, see image (originally, this is why I joined this issue).

image

Any update on this? I am having the same issue with the automation shortcut in iOS, using 2.4.6.

@httpiga
Copy link

httpiga commented Mar 3, 2023

I'm facing the same problem on version 2.4.8, iOS 16.3.1.
Restarting the phone, locking/unlocking the vault and manually retry did not help.
If I try to delete a folder I get an error saying "The operation can't be completed - Couldn't communicate with a helper application", I don't know if it's related

@yaronhb
Copy link

yaronhb commented Sep 1, 2023

Is there a way for the Cryptomator app to show the upload progress instead?

@phil1995
Copy link
Collaborator

phil1995 commented Sep 3, 2023

Is there a way for the Cryptomator app to show the upload progress instead?

Unfortunately this is currently only possible with WebDAV.

@Sarpovski
Copy link
Author

Sarpovski commented Apr 24, 2024

I tried back again using WebDAV and iCloud, and they were pretty fine, but the rest is the same; it gets stuck at every condition. For example, if I say 'take 10 photos, wait 2 minutes, then take 10 more,' it gets stuck again somewhere.

@chbri1
Copy link

chbri1 commented May 27, 2024

This issue is still occurring. When will the be fixed permanently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests