Unlock failed see log file for details [mail.ru/disk-o]


#1

Hello,

doesn’t cryptomator support the mail.ru cloud and its own virtual drive software disk-o (https://disk-o.cloud/)?

I can create a vault on the cloud drive directly but can’t open it.

I get the following error after entering my password:

“Unlock failed see log file for details”

Mail*ru doesn’t support webdav in the free version but you can add such virtual drives with their software.
There is maybe something wrong with the drive configuration. But I can’t change anything in the security tab.

Update:

Mountain Duck works like a charm with this drive. So there seems to be a problem inside Cryptomator.

Log File:

20:06:21.269 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.3.4 on Windows 10 10.0 (amd64)
20:06:22.101 [JavaFX Application Thread] INFO o.c.launcher.MainApplication - JavaFX application started.
20:06:22.357 [JavaFX Application Thread] INFO o.c.common.settings.SettingsProvider - Settings loaded from C:\Users\Tardigrad\AppData\Roaming\Cryptomator\settings.json
20:06:23.255 [JavaFX Application Thread] INFO org.cryptomator.jni.JniModule - loaded WinFunctions.dll
20:06:23.462 [JavaFX Application Thread] INFO org.eclipse.jetty.util.log - Logging initialized @-1ms to org.eclipse.jetty.util.log.Slf4jLog
20:06:23.576 [JavaFX Application Thread] INFO o.c.frontend.webdav.WebDavServer - Binding server socket to 127.0.0.1:42427
20:06:23.614 [JavaFX Application Thread] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@3ec6d2cb{HTTP/1.1,[http/1.1]}{127.0.0.1:42427}
20:06:25.788 [pool-4-thread-1] INFO o.c.ui.controllers.WelcomeController - Current version: 1.3.4, lastest version: 1.3.4
20:06:28.569 [JavaFX Application Thread] INFO o.c.k.WindowsProtectedKeychainAccess - Creating new keychain at path C:\Users\Tardigrad\AppData\Roaming\Cryptomator\keychain.json
20:06:40.221 [JavaFX Application Thread] ERROR o.c.ui.controllers.UnlockController - Unlock failed for technical reasons.
java.nio.file.FileSystemException: M:\123: Unzulässige Funktion.

at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsLinkSupport.getFinalPath(WindowsLinkSupport.java:82)
at sun.nio.fs.WindowsFileStore.create(WindowsFileStore.java:94)
at sun.nio.fs.WindowsFileSystemProvider.getFileStore(WindowsFileSystemProvider.java:482)
at java.nio.file.Files.getFileStore(Files.java:1461)
at org.cryptomator.cryptofs.CryptoFileStore.lambda$new$0(CryptoFileStore.java:40)
at org.cryptomator.cryptofs.UncheckedThrows$2.from(UncheckedThrows.java:58)
at org.cryptomator.cryptofs.CryptoFileStore.(CryptoFileStore.java:40)
at org.cryptomator.cryptofs.CryptoFileStore_Factory.get(CryptoFileStore_Factory.java:26)
at org.cryptomator.cryptofs.CryptoFileStore_Factory.get(CryptoFileStore_Factory.java:8)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at org.cryptomator.cryptofs.CryptoFileSystemImpl_Factory.get(CryptoFileSystemImpl_Factory.java:101)
at org.cryptomator.cryptofs.CryptoFileSystemImpl_Factory.get(CryptoFileSystemImpl_Factory.java:9)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at org.cryptomator.cryptofs.DaggerCryptoFileSystemProviderComponent$CryptoFileSystemComponentImpl.cryptoFileSystem(DaggerCryptoFileSystemProviderComponent.java:258)
at org.cryptomator.cryptofs.CryptoFileSystems.lambda$create$0(CryptoFileSystems.java:37)
at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
at org.cryptomator.cryptofs.CryptoFileSystems.lambda$create$1(CryptoFileSystems.java:30)
at org.cryptomator.cryptofs.UncheckedThrows$1.from(UncheckedThrows.java:38)
at org.cryptomator.cryptofs.CryptoFileSystems.create(CryptoFileSystems.java:30)
at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:276)
at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:88)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:326)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:276)
at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:124)
at org.cryptomator.ui.model.Vault.unlockCryptoFileSystem(Vault.java:99)
at org.cryptomator.ui.model.Vault.lambda$getCryptoFileSystem$0(Vault.java:90)
at org.cryptomator.common.LazyInitializer.lambda$invokeFactoryIfNull$1(LazyInitializer.java:62)
at java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:179)
at org.cryptomator.common.LazyInitializer.initializeLazily(LazyInitializer.java:49)
at org.cryptomator.ui.model.Vault.getCryptoFileSystem(Vault.java:90)
at org.cryptomator.ui.model.Vault.unlock(Vault.java:115)
at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:354)
at org.cryptomator.ui.util.AsyncTaskService.lambda$asyncTaskOf$0(AsyncTaskService.java:43)
at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$null$6(AsyncTaskService.java:106)
at org.cryptomator.ui.util.AsyncTaskService.logExceptions(AsyncTaskService.java:135)
at org.cryptomator.ui.util.AsyncTaskService.access$100(AsyncTaskService.java:24)
at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$run$7(AsyncTaskService.java:104)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
20:06:41.506 [JavaFX Application Thread] INFO o.c.launcher.MainApplication - JavaFX application stopped.
20:06:41.539 [Thread-1] INFO o.c.launcher.CleanShutdownPerformer - Goodbye.


#2

I guess the issue is caused by Apple and the way it uses WebDAV Drives.
Can you do a test with version 1.4 beta? It offers the option to use FUSE instead of WebDAV.


#3

I can’t install Java 9 on this machine to run the beta. Will test it when the official release is out.

I’m using Windows by the way.


#4

Won’t work with 1.4.0 too (“wrong function” error)

[JavaFX Application Thread] ERROR o.c.ui.controllers.UnlockController - Unlock failed for technical reasons.
java.nio.file.FileSystemException: Z:\Windows_backups\archive: Неверная функция.

	at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at java.base/sun.nio.fs.WindowsLinkSupport.getFinalPath(Unknown Source)
	at java.base/sun.nio.fs.WindowsFileStore.create(Unknown Source)
	at java.base/sun.nio.fs.WindowsFileSystemProvider.getFileStore(Unknown Source)
	at java.base/java.nio.file.Files.getFileStore(Unknown Source)
	at org.cryptomator.cryptofs.ReadonlyFlag.lambda$targetFileStoreIsReadonly$0(ReadonlyFlag.java:34)
	at org.cryptomator.cryptofs.UncheckedThrows$2.from(UncheckedThrows.java:58)
	at org.cryptomator.cryptofs.ReadonlyFlag.targetFileStoreIsReadonly(ReadonlyFlag.java:34)
	at org.cryptomator.cryptofs.ReadonlyFlag.<init>(ReadonlyFlag.java:22)
	at org.cryptomator.cryptofs.ReadonlyFlag_Factory.provideInstance(ReadonlyFlag_Factory.java:30)
	at org.cryptomator.cryptofs.ReadonlyFlag_Factory.get(ReadonlyFlag_Factory.java:25)
	at org.cryptomator.cryptofs.ReadonlyFlag_Factory.get(ReadonlyFlag_Factory.java:8)
	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
	at org.cryptomator.cryptofs.CryptoFileSystemModule_ProvideCryptorFactory.provideInstance(CryptoFileSystemModule_ProvideCryptorFactory.java:56)
	at org.cryptomator.cryptofs.CryptoFileSystemModule_ProvideCryptorFactory.get(CryptoFileSystemModule_ProvideCryptorFactory.java:41)
	at org.cryptomator.cryptofs.CryptoFileSystemModule_ProvideCryptorFactory.get(CryptoFileSystemModule_ProvideCryptorFactory.java:11)
	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
	at org.cryptomator.cryptofs.CryptoFileSystemImpl_Factory.provideInstance(CryptoFileSystemImpl_Factory.java:146)
	at org.cryptomator.cryptofs.CryptoFileSystemImpl_Factory.get(CryptoFileSystemImpl_Factory.java:99)
	at org.cryptomator.cryptofs.CryptoFileSystemImpl_Factory.get(CryptoFileSystemImpl_Factory.java:9)
	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
	at org.cryptomator.cryptofs.DaggerCryptoFileSystemProviderComponent$CryptoFileSystemComponentImpl.cryptoFileSystem(DaggerCryptoFileSystemProviderComponent.java:281)
	at org.cryptomator.cryptofs.CryptoFileSystems.lambda$create$0(CryptoFileSystems.java:37)
	at java.base/java.util.concurrent.ConcurrentHashMap.compute(Unknown Source)
	at org.cryptomator.cryptofs.CryptoFileSystems.lambda$create$1(CryptoFileSystems.java:30)
	at org.cryptomator.cryptofs.UncheckedThrows$1.from(UncheckedThrows.java:38)
	at org.cryptomator.cryptofs.CryptoFileSystems.create(CryptoFileSystems.java:30)
	at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:263)
	at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:88)
	at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
	at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
	at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:124)
	at org.cryptomator.ui.model.Vault.unlockCryptoFileSystem(Vault.java:86)
	at org.cryptomator.ui.model.Vault.lambda$getCryptoFileSystem$0(Vault.java:77)
	at org.cryptomator.common.LazyInitializer.lambda$invokeFactoryIfNull$1(LazyInitializer.java:62)
	at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(Unknown Source)
	at org.cryptomator.common.LazyInitializer.initializeLazily(LazyInitializer.java:49)
	at org.cryptomator.ui.model.Vault.getCryptoFileSystem(Vault.java:77)
	at org.cryptomator.ui.model.Vault.unlock(Vault.java:107)
	at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:392)
	at org.cryptomator.ui.util.Tasks.lambda$create$0(Tasks.java:33)
	at org.cryptomator.ui.util.Tasks$TaskImpl.call(Tasks.java:139)
	at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	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)

#5

This has nothing to do with Cryptomator and rather the underlying layer, namely the Java Runtime Environment.

The way your cloud storage is provided under windows seems to have some specialities (can’t say what exactly, but i guess that adding virtual drives with their software has something to do with it) and uses not the normal windows provider, such that Java fails to get an representation of this storage.