I am trying to access my keepass db that I keep on a https webdav share.
Steps:
1. Enter URL of my database. https://example.com/kps/web.kdbx
2. Enter share credentials and allow saving
3. Press OK
At this point I get a Working... Loading database popup. This spins for about a minute then fails with this error: An error occurred: Error: SendFailure (Error writing headers)
If I enter the same URL as above into the browser I can download the file. I can also open that file with Keepass2Android with the same key I tried above. I am also able to open and modify the database on Windows through WebDAV using KeePass without issue.
HTC One M8 Android 5.0.1
Keepass2Android version: 0.9.8
WebDAV share is running on ownCloud 8.0.4 (Raspberry PI nginx/1.2.1)
Comments: I've got the same problem with the additional issue that I can't connect to webdav with es file explorer. I have tried several times and I am certain I use the correct URL, password and username. I've tried it with different formats but nothing helps. It tells me it can't find the server and for some reason it says FTP in front of the server URL even though I chose webdav.  Apart from that, the same issue remains with the following log. ``` 01-25 01:43:42.373 D/KP2A (27991): PasswordActivity.OnStart 01-25 01:43:42.373 D/KP2A (27991): PasswordActivity.OnResume 01-25 01:43:42.373 D/KP2A (27991): DatabaseIsUnlocked=False 01-25 01:43:42.383 D/KP2A (27991): Pre-loading database file starting 01-25 01:43:42.384 D/KP2A (27991): CFS: OpenWhenNoLocalChanges 01-25 01:43:42.422 D/KP2A (27991): GlobalLayout 01-25 01:43:42.422 D/KP2A (27991): ActualHeight=2338 01-25 01:43:42.422 D/KP2A (27991): ProposedHeight=1519 01-25 01:43:42.539 D/KP2A (27991): GlobalLayout 01-25 01:43:42.539 D/KP2A (27991): ActualHeight=1519 01-25 01:43:42.539 D/KP2A (27991): ProposedHeight=2338 01-25 01:43:42.710 D/KP2A (27991): GlobalLayout 01-25 01:43:42.711 D/KP2A (27991): ActualHeight=2338 01-25 01:43:42.711 D/KP2A (27991): ProposedHeight=1519 01-25 01:43:43.873 D/KP2A (27991): PasswordActivity.OnActivityResult 874348/1000 01-25 01:43:43.873 D/KP2A (27991): No AppTask in OnActivityResult 01-25 01:43:43.929 D/KP2A (27991): Exception: System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed. 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel alertLevel, AlertDescription alertDesc) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): --- End of inner exception stack trace --- 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): --- End of inner exception stack trace --- 01-25 01:43:43.929 D/KP2A (27991): --- End of inner exception stack trace --- 01-25 01:43:43.929 D/KP2A (27991): at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at System.Net.WebClient.OpenRead (System.Uri address) [0x00000] in <filename unknown>:0 01-25 01:43:44.003 D/KP2A (27991): OnFinish message: An error occured: Error: SendFailure (Error writing headers) 01-25 01:43:44.957 D/KP2A (27991): PasswordActivity.OnPause 01-25 01:43:45.420 D/KP2A (27991): PasswordActivity.OnStop ``` I am using the correct username and password as well as URL. I've double checked it several times.
Steps:
1. Enter URL of my database. https://example.com/kps/web.kdbx
2. Enter share credentials and allow saving
3. Press OK
At this point I get a Working... Loading database popup. This spins for about a minute then fails with this error: An error occurred: Error: SendFailure (Error writing headers)
If I enter the same URL as above into the browser I can download the file. I can also open that file with Keepass2Android with the same key I tried above. I am also able to open and modify the database on Windows through WebDAV using KeePass without issue.
HTC One M8 Android 5.0.1
Keepass2Android version: 0.9.8
WebDAV share is running on ownCloud 8.0.4 (Raspberry PI nginx/1.2.1)
Comments: I've got the same problem with the additional issue that I can't connect to webdav with es file explorer. I have tried several times and I am certain I use the correct URL, password and username. I've tried it with different formats but nothing helps. It tells me it can't find the server and for some reason it says FTP in front of the server URL even though I chose webdav.  Apart from that, the same issue remains with the following log. ``` 01-25 01:43:42.373 D/KP2A (27991): PasswordActivity.OnStart 01-25 01:43:42.373 D/KP2A (27991): PasswordActivity.OnResume 01-25 01:43:42.373 D/KP2A (27991): DatabaseIsUnlocked=False 01-25 01:43:42.383 D/KP2A (27991): Pre-loading database file starting 01-25 01:43:42.384 D/KP2A (27991): CFS: OpenWhenNoLocalChanges 01-25 01:43:42.422 D/KP2A (27991): GlobalLayout 01-25 01:43:42.422 D/KP2A (27991): ActualHeight=2338 01-25 01:43:42.422 D/KP2A (27991): ProposedHeight=1519 01-25 01:43:42.539 D/KP2A (27991): GlobalLayout 01-25 01:43:42.539 D/KP2A (27991): ActualHeight=1519 01-25 01:43:42.539 D/KP2A (27991): ProposedHeight=2338 01-25 01:43:42.710 D/KP2A (27991): GlobalLayout 01-25 01:43:42.711 D/KP2A (27991): ActualHeight=2338 01-25 01:43:42.711 D/KP2A (27991): ProposedHeight=1519 01-25 01:43:43.873 D/KP2A (27991): PasswordActivity.OnActivityResult 874348/1000 01-25 01:43:43.873 D/KP2A (27991): No AppTask in OnActivityResult 01-25 01:43:43.929 D/KP2A (27991): Exception: System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed. 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel alertLevel, AlertDescription alertDesc) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): --- End of inner exception stack trace --- 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): --- End of inner exception stack trace --- 01-25 01:43:43.929 D/KP2A (27991): --- End of inner exception stack trace --- 01-25 01:43:43.929 D/KP2A (27991): at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0 01-25 01:43:43.929 D/KP2A (27991): at System.Net.WebClient.OpenRead (System.Uri address) [0x00000] in <filename unknown>:0 01-25 01:43:44.003 D/KP2A (27991): OnFinish message: An error occured: Error: SendFailure (Error writing headers) 01-25 01:43:44.957 D/KP2A (27991): PasswordActivity.OnPause 01-25 01:43:45.420 D/KP2A (27991): PasswordActivity.OnStop ``` I am using the correct username and password as well as URL. I've double checked it several times.