Strongbox: webdav source not working

Created on 17 Jan 2019  路  7Comments  路  Source: strongbox-password-safe/Strongbox

I try to get syncing to work. I don't have itunes, as I use Linux. I also don't have dropbox or googledrive.

So I tried webdav with nextcloud.
I can connect and it actually shows me the contents of my folder but when i select the database file (a kdbx file), I get the error:

Error Reading Safe File
The operation couldn't be completed. 
(com.MattRajca.DAVKit.error error 404.)

googling it yielded nothing I could understand.

Can anyone help me? The information whether this is a bug in strongbox/nextcloud/webdav or a mistake of mine would also be appreciated.

Most helpful comment

I have the same issue, except i get a HTTP 400 and it says "Problem Listing Files & Folders". I verified the link and credentials by just opening the URL in my browser. Everything worked as expected, it started downloading the Keepass database. But in the app it gives me an error.
Should I open a new issue for the different status code? Or is this enough?

EDIT: Nevermind the above. I have the exact same issue as @eike-f. I didn't know i had to fill in a folder, not the exact path to the file. Now i can list my files and i see the databse, but I can not access it because of the same 404 error.

All 7 comments

I guess this is the issue.

Maybe its possible to switch to this library?

Both look rather unmaintained but maybe the second one is working.

Hi @eike-f, definitely looks like an issue with the DAV library alright. I'll look into this, and check out your suggested replacement shortly, might be an easy switch/replacement.
Cheers,
-Mark

Hi @eike-f, unfortunately not a drop in replacement, looks like I'll have to dig in more and find out whats wrong, something to do with authentication challenges for sure.

I have the same issue, except i get a HTTP 400 and it says "Problem Listing Files & Folders". I verified the link and credentials by just opening the URL in my browser. Everything worked as expected, it started downloading the Keepass database. But in the app it gives me an error.
Should I open a new issue for the different status code? Or is this enough?

EDIT: Nevermind the above. I have the exact same issue as @eike-f. I didn't know i had to fill in a folder, not the exact path to the file. Now i can list my files and i see the databse, but I can not access it because of the same 404 error.

Hi,

With 1.21.2, WebDAV should be working, I've tested against Nextcloud and that seems to be fine, but would be interested to hear your experiences. Will leave issue open for a while...

-Mark

Thanks!
Webdav itself works like a charm.
But I had some trouble in filling out the form. Maybe not worth debugging, your call:
When I used the password autofill to fill out username and password for the webdav, the first time I couldn't press connect afterwards and had to kill strongbox. If you would like further testing, I can do that.
As this is only related in a minor way, I'll close this issue.

Thanks @eike-f, I'll have a look into that

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eike-fokken picture eike-fokken  路  7Comments

F3000 picture F3000  路  6Comments

Ben-Voris picture Ben-Voris  路  4Comments

brogers5 picture brogers5  路  6Comments

shad0whawk picture shad0whawk  路  3Comments