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

Hangs when click on a unfinished upload file left after failure to complete upload into encrypted folder #10759

Closed
cyberduck opened this issue Jul 10, 2019 · 8 comments
Assignees
Labels
Milestone

Comments

@cyberduck
Copy link
Collaborator

ef2996d created the issue

A file upload via Duck CLI to a Cryptomator vault failed. The last 8 lines of Duck output follow:

[▮▮▮▮▮▮▮▮▮▮▮▮▮                 ] 350.0 MiB (367,001,600 bytes) of 799.0 MiB (43%, 7.9 MB/sec, 60 seconds remaining)
[▮▮▮▮▮▮▮▮▮▮▮▮▮                 ] 340.0 MiB (356,515,840 bytes) of 799.0 MiB (42%, 7.6 MB/sec, 64 seconds remaining)
Transfer incomplete…
Upload TKVFDLZCWLMMFWR4QANKZW6PIXSYIAOTLGEKRGVB5H4RZJJFXUB4BFVCJYL2XR4VMJ4K3LGSH4MA==== failed. We encountered an internal error.  Please retry the operation again later. Please contact your web hosting service provider for assistance.


[▮▮▮▮▮▮▮▮▮▮                    ] 280.0 MiB of 799.0 MiB
[▮▮▮▮▮▮▮▮▮▮                    ] 270.0 MiB of 799

Here is the duck command issued:

duck  -P --existing resume --parallel 32     --upload wasabisys://T5ZHIOV9VGMNBAKU1HQ4@Blaise-Backup/Server/ \\Odin\Backup-Staging\Server\20190710-031246-D_B2D000217.bkf

The target folder ("Server") is a cryptomator vault. This happens occasionally, and when it does, a "hidden" file is left behind, as seen in attached screen shot. (long file name, "TKVFDLZCW ..."). I issued the same Duck command again, and the upload succeeded. But the hidden file remains, so I'm guessing that the second successful upload did not "resume" from the first failed upload. This seems common (doesn't resume) and maybe happens because the target folder is a Crytomator vault.

After the second successful upload, I opened Cyberduck, and when I click on the hidden file (to delete it), Cyberduck hangs. You can't click on anything - the window does not respond to any input, nor does the window title bar display "not responding". I fact, it won't even get focus.

When I kill the process (by clicking on the close box of the task bar button), a message box is displayed for a fraction of a second just before the window is closed. It's too quick to read the message.

This occurs reproducibly on Windows 10 running Cyberduck 7.01. When I run Cyberduck 6.9.4 on a Windows 8.1 box, it does not hang.

Let me know if I can provide you with any other information.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Thanks for your detailed bug report. I tried to reproduce this issue with selecting an unfinished upload to Wasabi S3 into a Cryptomator vault but cannot reproduce the crash by selecting the file.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I can however reproduce a crash when opening the Info panel.

@cyberduck
Copy link
Collaborator Author

ef2996d commented

Well, when this happens, the hidden file is listed more than once - in the bucket root, and in each folder along the path to the folder into which the file is being uploaded. In the attached screen shot (HiddenFileEntries.jpg), you can see 2 files whose upload failed. The target directory to which the files were being uploaded is Blaise-Backup/Magni/Diff. You can see an entry for each failed upload in each folder: Blaise-Backup (bucket root), Magni, and Diff.

If I delete the entry in the bucket root, the other 2 entries remain in the sub-folders (Magni and Diff). If I click Refresh, these "ghost" entries are removed. But if I click on any of the remaining entries (e.g., right-click, intending to delete), Cyberduck locks up, as described. I have waited as long as 30 minutes to see if it comes back, but it doesn't - I have to kill the Cyberduck process.

I hope that helps ...

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Ticket retargeted after milestone closed

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Sorry for not following up on this earlier. Can you still reproduce this in the current release?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I tried to reproduce by interrupting an upload into a Cryptomator vault using Cyberduck CLI with duck --username 3P8EKI02F6OBKT14FITH --upload wasabisys-eu-central-1:/trac-10759/vault/. I can see the duplicate incomplete multipart upload file displayed when browsing with Cyberduck.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

It looks like Wasabi S3 does not properly handle the prefix key in API requests like GET /?prefix=SlKGVfW0%2FIK1AMCOk&delimiter=%2F&uploads and returning all pending multipart uploads for a bucket. Review in 2ef561d. I cannot reproduce the hang in the current release.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Milestone renamed

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants