Keepass2android: Webdav Yandex.disk issue

Created on 15 Aug 2018  ·  14Comments  ·  Source: PhilippC/keepass2android

I load database from my Yandex disk using webdav and all works fine. But if i add some changes in db and then try sync, kp2a say me a error.

15.08.2018 15:00:26:900 -- Write error: ssl=0xca228a00: I/O error during system call, Broken pipe
15.08.2018 15:00:29:836 -- GroupActivity.OnPause
15.08.2018 15:00:29:837 -- Timeout start
15.08.2018 15:00:29:874 -- DatabaseSettingsActivity.OnCreate
15.08.2018 15:00:29:874 -- DatabaseSettingsActivity:apptask=
15.08.2018 15:00:30:22 -- DatabaseSettingsActivity.OnStart
15.08.2018 15:00:30:27 -- DatabaseSettingsActivity.OnResume
15.08.2018 15:00:30:28 -- DatabaseIsUnlocked=True
15.08.2018 15:00:30:28 -- Timeout cancel
15.08.2018 15:00:30:384 -- GroupActivity.OnStop

How can i fix this problem?

Most helpful comment

Nope, i tried on my home wi-fi, on my work wi-fi, 4g connection on my phone, unfortunately the result is the same. However, through other apps, the connection and synchronization work fine.

All 14 comments

are you on a reliable internet connection or could this be caused by bad wifi/data connection?

Nope, i tried on my home wi-fi, on my work wi-fi, 4g connection on my phone, unfortunately the result is the same. However, through other apps, the connection and synchronization work fine.

Similar error here using webdav (https) on a different storage provider.

9/12/2018 9:39:07 PM:493 -- Write error: ssl=0x94027dc0: I/O error during system call, Broken pipe
9/12/2018 9:39:07 PM:543 -- couldn't save to remote https://<REDACTED>/remote.php/webdav/KeePass2/20180912.kdbx
9/12/2018 9:39:07 PM:546 -- System.Exception: Write error: ssl=0x94027dc0: I/O error during system call, Broken pipe ---> Java.IO.IOException: Write error: ssl=0x94027dc0: I/O error during system call, Broken pipe
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <92ccbda37a8f409b84c0d709658b6bb1>:0
  at Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069] in <50f136c22854451fb0164819995099ad>:0
  at Android.Runtime.JNIEnv.CallVoidMethod (System.IntPtr jobject, System.IntPtr jmethod, Android.Runtime.JValue* parms) [0x0000e] in <fb151c603a6b487c8c4acc18b247387d>:0
  at Keepass2android.Javafilestorage.WebDavStorage.UploadFile (System.String p0, System.Byte[] p1, System.Boolean p2) [0x00092] in <864263ecf9c74d2cbcc01d384e32b4fd>:0
  at keepass2android.Io.JavaFileStorage+JavaFileStorageWriteTransaction.CommitWrite () [0x0001c] in <8b8564fc621f46ffaff800ca19bc9b90>:0
   --- End of inner exception stack trace ---
  at keepass2android.Io.JavaFileStorage+JavaFileStorageWriteTransaction.CommitWrite () [0x00036] in <8b8564fc621f46ffaff800ca19bc9b90>:0
  at keepass2android.Io.CachingFileStorage.UpdateRemoteFile (System.IO.Stream cachedData, KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean useFileTransaction, System.String hash) [0x00022] in <8b8564fc621f46ffaff800ca19bc9b90>:0
  at keepass2android.Io.CachingFileStorage.TryUpdateRemoteFile (System.IO.Stream cachedData, KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean useFileTransaction, System.String hash) [0x00000] in <8b8564fc621f46ffaff800ca19bc9b90>:0

Same problem with webdav (https) and Yandex.Disk.

is this related to 1.06f?

Yes, on 1.06f and on previous version.

09.02.2019 10:43:53:75 -- Write error: ssl=0x89eabc40: I/O error during system call, Broken pipe
09.02.2019 10:43:59:596 -- GroupActivity.OnPause
09.02.2019 10:43:59:597 -- Timeout start
09.02.2019 10:43:59:635 -- DatabaseSettingsActivity.OnCreate
09.02.2019 10:43:59:636 -- DatabaseSettingsActivity:apptask=
09.02.2019 10:43:59:713 -- DatabaseSettingsActivity.OnStart
09.02.2019 10:43:59:714 -- DatabaseSettingsActivity.OnResume
09.02.2019 10:43:59:714 -- DatabaseIsUnlocked=True
09.02.2019 10:43:59:715 -- Timeout cancel
09.02.2019 10:44:00:239 -- GroupActivity.OnStop

Fix is clear app data, add webdav https url again. And no more change keepass db on phone. :-/

tried to reproduce this but even failed to login with webdav, I get 401 unauthorized. Is there anything to configure in Yandex to make webdav work? can I use the same user/password combination used to login to the yandex site?

tried to reproduce this but even failed to login with webdav, I get 401 unauthorized. Is there anything to configure in Yandex to make webdav work? can I use the same user/password combination used to login to the yandex site?

I use 2fa and i create separately password for program, also i use a https protocol to authorize. But login the same as the yandex site.

is https://webdav.yandex.com the right WebDav URL. I cannot connect through Windows Explorer either.

is https://webdav.yandex.com the right WebDav URL. I cannot connect through Windows Explorer either.

This way:
image

sounds like this makes it impossible to support Yandex through webdav at the moment

Was this page helpful?
0 / 5 - 0 ratings