Skip to content

WebDAV mount doesn't work: gio: dav://localhost:42427/...: volume doesn’t implement mount #3

@purejava

Description

@purejava

Cryptomator 1.6.5 (flatpak-1)

Volume type WebDAV does not work, see @pizzadude's comment here.

It fails with an Exception:

14:52:38.152 [App Background Thread 004] INFO  o.c.f.w.s.WebDavServletController - WebDavServlet started: /OTGU-r-TAnLC/Test
14:52:53.206 [App Background Thread 004] INFO  o.c.f.w.s.WebDavServletController - Mounting http://localhost:42427/OTGU-r-TAnLC/Test using org.cryptomator.frontend.webdav.mount.LinuxGioMounter
14:52:53.229 [App Background Thread 004] TRACE org.cryptomator.common.vaults.Vault - Trying to close associated CryptoFS...
14:52:53.231 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'Test' failed.
14:52:53.232 [JavaFX Application Thread] ERROR o.c.ui.unlock.UnlockWorkflow - Unlock failed for technical reasons.
org.cryptomator.common.vaults.Volume$VolumeException: org.cryptomator.frontend.webdav.mount.Mounter$CommandFailedException: Command failed with exit code 2. Expected 0. Stderr: gio: dav://localhost:42427/OTGU-r-TAnLC/Test: volume doesn’t implement mount

	at org.cryptomator.desktop@1.6.5/org.cryptomator.common.vaults.WebDavVolume.mountServlet(WebDavVolume.java:86)
	at org.cryptomator.desktop@1.6.5/org.cryptomator.common.vaults.WebDavVolume.mount(WebDavVolume.java:48)
	at org.cryptomator.desktop@1.6.5/org.cryptomator.common.vaults.Vault.unlock(Vault.java:153)
	at org.cryptomator.desktop@1.6.5/org.cryptomator.ui.keyloading.KeyLoadingStrategy.use(KeyLoadingStrategy.java:79)
	at org.cryptomator.desktop@1.6.5/org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:71)
	at org.cryptomator.desktop@1.6.5/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:61)
	at org.cryptomator.desktop@1.6.5/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:34)
	at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.webdav.mount.Mounter$CommandFailedException: Command failed with exit code 2. Expected 0. Stderr: gio: dav://localhost:42427/OTGU-r-TAnLC/Test: volume doesn’t implement mount

	at org.cryptomator.frontend.webdav@1.2.6/org.cryptomator.frontend.webdav.mount.ProcessUtil.assertExitValue(ProcessUtil.java:28)
	at org.cryptomator.frontend.webdav@1.2.6/org.cryptomator.frontend.webdav.mount.LinuxGioMounter.mount(LinuxGioMounter.java:43)
	at org.cryptomator.frontend.webdav@1.2.6/org.cryptomator.frontend.webdav.servlet.WebDavServletController.mount(WebDavServletController.java:102)
	at org.cryptomator.desktop@1.6.5/org.cryptomator.common.vaults.WebDavVolume.mountServlet(WebDavVolume.java:84)
	... 13 common frames omitted

This can be reproduced by running gio mount from within the sandbox.
Run from inside the sandbox it states:

📦 org.cryptomator.Cryptomator org.cryptomator.Cryptomator]$ gio mount dav://localhost:42427/OTGU-r-TAnLC/Test
gio: dav://localhost:42427/OTGU-r-TAnLC/Test: volume doesn’t implement mount

whereas running from outside works:

ralph@fusion org.cryptomator.Cryptomator % gio mount dav://localhost:42427/OTGU-r-TAnLC/Test                              
gio: dav://localhost:42427/OTGU-r-TAnLC/Test: HTTP Error: Could not connect: Connection refused

(Connection refused is ok here)

I tried to adjust the --filesystem settings as described for gvfs access, but it did not help.

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