SendFailure when opening database from https WebDav OwnCloud
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
I am using OwnCloud v8.2 on Ubuntu 14.04.3 LTS server. I have a certfificate from LetsEncrypt.
I am using Mono from their repo, which is v4.2 stable.
I am using Ubuntu 14.04.3 to run KeePass.
In Keepass2, v2.25, using "Open From URL" I enter -
https://xxx.xxx.xxx/owncloud/remote.php/webdav/KeePass/Stephen.kdbx
I get:
Error: SendFailure (Error writing headers)
Error writing headers
Have just updated to latest KeePass v2.3 by using
But it has the same problem.
Also of note is that Enpass (v5.0.2) seems fine working with my OwnCloud.
Using '-debug' when launching keepass2, some extra info is emitted with the error:
Try ignoring invalid certificates. Tools > Options > Advanced > File input/output connections.
cheers, Paul
Already tried that and makes no difference. The certificate is valid as far as Firefox is concerned...
•••
Are you able to test KeePass in Windows? This will show whether it's KeePass or mono, most likely mono.
cheers, Paul
Just tried v2.31 in Win7, and it works fine.
Found this page - http://www.mono-project.com/docs/faq/security/.
So Mono doesn't have any root certs, which ain't great.
So used following to get them:
Downloaded tsltest and built it using their instructions and tried to test my webserver. It still fails. Testing against https://www.google.com passes the test though.
Here's the output:
So am still stumped.
Has it installed the root certificate for the certificate you are using?
cheers, Paul
Looks like it; if I do this, I get some warnings about the signature, which aint good:
Although if I do that against www.google.com, it gives the same warning!
Still doesn't work though!
The certificate is already in the store, so it should be fine.
As it works in Windows it would appear to be a mono thing.
cheers, Paul
Three suggestions:
Try the latest KeePass development snapshot:
http://keepass.info/filepool/KeePass_160221.zip
Make sure you're using the latest Mono version (4.2.2).
We recently had another issue with SSL/TLS, which was fixed by upgrading Apache from 2.2 to 2.4. If you're using an old Apache, could you try upgrading?
Best regards,
Dominik
Hi!
Just tested the latest release of Keepass under Mono with Debian Testing and the problem still appears under the same conditions (WebDAV, Apache 2.4, Mono 4.2.1, Let's Encrypt cert).
Any useful information in the Apache logs?
cheers, Paul
Apparently it didn't go that far. There are no lines in the logs (access and error).
What error do you get from KeePass?
cheers, Paul
The exact same message that the original poster had.
Generate a new certificate and try that.
cheers, Paul
I also have the exact same issue.
The strange thing, however, is that Keepass works perfectly from Windows 10 connecting to my Linux box with https://myhost/webdav/me.kdbx
I'm using Apache 2.4 with the mod_dav modules, and also have a Letsencrypt certificate. Keepass works without having to allow for invalid certificates.....
Connecting to the same URL with my Galaxy S5 and the latest Keepass from the store does not work.
I get to the point where I want to open the database, I first get the message that the external file and cache are synchronised, but then the Error: SendFailure (Error writing headers) appears, and I'm unable to open the database.
Please advise.
Regards,
Hans
KeePass does not work on Android so you must have one of the 3rd party ports. Which one do you have?
cheers, Paul
Hi Paul,
Thanks for the quick reply.
I have Keepass2Android v. 0.9.9e.
As far as I know, this is the only (free) Android app that allows a connection to a webdav source.
Does this help ?
Cheers,
Hans
Verstuurd vanaf mijn iPad
Related
Bugs:
#1466Keepass2Android works with webdav. Try http instead of https.
cheers, Paul
Please disregard. Problem disappeared when upgraded 2.30 to 2.34.
Just wanted to add that I have the very same problem.
I was using Owncloud (Sabre) WEBDAV connection to the KeePass database file without any problems. Now I migrated to a new server with Nextcloud (the same WEBDAV) and I'm not able to open database anymore. "An unexpected error occured on send"
The configuration is the same as before, only ssl certificate is different and protocol is limited to TLS1.1 and 1.2
Last edit: Alan 2016-08-07
Have upgraded to KeePass2 v2.34 + mono v4.4.2. Now get:
KeePass
https://xxx.xxx.xxx/owncloud/remote.php/webdav/KeePass/xxx.kdbx (stephen)
Error: SecureChannelFailure (The authentication or decryption has failed.)
The authentication or decryption has failed.
OK