PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.73k stars 382 forks source link

Problems accessing Fritzbox via ftps because TLS>1.0 is required #825

Closed ei146 closed 4 years ago

ei146 commented 5 years ago

Version 1.07-r1 does not work with ftps to a FritzBox anymore. My app was upgraded by Play and now can not connect to my Fritzbox anymore. I did not change any settings. My Keepass on Windows still uses the same connection with the same credentials successfully. But both my Android devices (Android 8.1 and Lineage 14.1/Android 7.1.2) stopped working. Connection goes to a DynDNS-address via FTPS (explicit). The Fritzbox uses their own self-certified certificate. Edit: unencrypted ftp transfer works.

Here is a log file:

16.05.2019 09:06:01:980 -- Creating application keepass2android.keepass2android. Version=138 16.05.2019 09:06:02:636 -- Loaded task keepass2android.NullTask 16.05.2019 09:06:02:753 -- StackBaseActivity.OnActivityResult Canceled/0 16.05.2019 09:06:02:755 -- TryGetFromActivityResult: no data 16.05.2019 09:06:02:997 -- FileSelect.OnCreate 16.05.2019 09:06:03:401 -- FileSelect.OnStart 16.05.2019 09:06:04:153 -- PasswordActivity.OnCreate 16.05.2019 09:06:04:154 -- PasswordActivity:apptask= 16.05.2019 09:06:05:56 -- PasswordActivity.OnStart 16.05.2019 09:06:05:126 -- PasswordActivity.OnResume 16.05.2019 09:06:05:127 -- DB null 16.05.2019 09:06:05:137 -- starting: True, Finishing: False, _performingLoad: False 16.05.2019 09:06:05:277 -- PasswordActivity.OnPause 16.05.2019 09:06:05:341 -- Pre-loading database file starting 16.05.2019 09:06:05:404 -- CFS: OpenWhenNoLocalChanges 16.05.2019 09:06:05:407 -- CFS: hashing cached version 16.05.2019 09:06:06:701 -- PasswordActivity.OnResume 16.05.2019 09:06:06:702 -- DB null 16.05.2019 09:06:06:704 -- starting: False, Finishing: False, _performingLoad: False 16.05.2019 09:06:06:756 -- FileSelect.OnStop 16.05.2019 09:06:06:820 -- FileSelect.OnDestroyTrue 16.05.2019 09:06:07:899 -- System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in :0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in :0 at System.Threading.Tasks.Task.Wait () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.FtpClient.FtpSocketStream.ActivateEncryption (System.String targethost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCerts, System.Security.Authentication.SslProtocols sslProtocols) [0x0005e] in :0 at (wrapper remoting-invoke-with-check) System.Net.FtpClient.FtpSocketStream.ActivateEncryption(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols) at System.Net.FtpClient.FtpClient.Connect () [0x00183] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.b2_0 () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.DoInRetryLoop[T] (System.Func`1[TResult] func) [0x00020] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.Connect () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage.GetClient (KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean enableCloneClient) [0x000a1] in :0 at keepass2android.Io.NetFtpFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in :0 at keepass2android.Io.OfflineSwitchableFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00006] in :0 at keepass2android.Io.CachingFileStorage.UpdateCacheFromRemote (KeePassLib.Serialization.IOConnectionInfo ioc, System.String cachedFilePath) [0x00000] in :0 at keepass2android.Io.CachingFileStorage.OpenFileForReadWhenNoLocalChanges (KeePassLib.Serialization.IOConnectionInfo ioc, System.String cachedFilePath) [0x00023] in :0 at keepass2android.Io.CachingFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00030] in :0 ---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 <---

16.05.2019 09:06:08:39 -- Pre-loading database file completed 16.05.2019 09:06:17:146 -- LockingActivity: OnActivityResult 16.05.2019 09:06:17:148 -- PasswordActivity.OnActivityResult 874348/1000 16.05.2019 09:06:17:488 -- status message: Initializing... 16.05.2019 09:06:17:491 -- status submessage: 16.05.2019 09:06:17:763 -- status message: Lade Datenbank… 16.05.2019 09:06:18:39 -- status submessage: Führe Schlüsseltransformationen durch… 16.05.2019 09:06:18:195 -- status submessage: Entschlüssele Datenbank… 16.05.2019 09:06:18:220 -- status submessage: Entschlüssele Datenbank… 16.05.2019 09:06:18:250 -- status submessage: Lese Datenbank ein… 16.05.2019 09:06:19:404 -- ReadXmlStreamed: 1147ms 16.05.2019 09:06:19:484 -- status submessage: 16.05.2019 09:06:19:528 -- status message: Aktualisiere lokale Sicherungskopie... 16.05.2019 09:06:19:661 -- LoadDB OK 16.05.2019 09:06:19:683 -- Starting/Updating OngoingNotificationsService. Database Unlocked 16.05.2019 09:06:20:230 -- PasswordActivity.OnPause 16.05.2019 09:06:20:240 -- Timeout start 16.05.2019 09:06:20:259 -- StackBaseActivity.OnActivityResult Ok/1 16.05.2019 09:06:20:262 -- No AppTask in OnActivityResult 16.05.2019 09:06:20:678 -- GroupActivity.OnCreate 16.05.2019 09:06:20:680 -- GroupActivity:apptask= 16.05.2019 09:06:20:698 -- Loaded task keepass2android.NullTask 16.05.2019 09:06:20:914 -- GroupActivity.OnStart 16.05.2019 09:06:20:923 -- GroupActivity.OnResume 16.05.2019 09:06:20:924 -- DatabaseIsUnlocked=True 16.05.2019 09:06:20:927 -- Timeout cancel 16.05.2019 09:06:22:223 -- PasswordActivity.OnStop 16.05.2019 09:06:22:233 -- PasswordActivity.OnDestroyTrue 16.05.2019 09:06:25:173 -- GroupActivity.OnPause 16.05.2019 09:06:25:175 -- Timeout start 16.05.2019 09:06:25:189 -- StackBaseActivity.OnActivityResult FirstUser/0 16.05.2019 09:06:25:192 -- AppTask keepass2android.NullTask in OnActivityResult 16.05.2019 09:06:25:707 -- GroupActivity.OnStop 16.05.2019 09:06:25:713 -- GroupActivity.OnDestroyTrue 16.05.2019 09:06:28:872 -- KeePass.OnCreate 16.05.2019 09:06:28:873 -- KeePass:apptask= 16.05.2019 09:06:28:875 -- Loaded task keepass2android.NullTask 16.05.2019 09:06:28:877 -- KeePass.OnCreate 16.05.2019 09:06:28:895 -- KeePass.OnStart 16.05.2019 09:06:28:897 -- KeePass.OnStart 16.05.2019 09:06:28:976 -- Loaded task keepass2android.NullTask 16.05.2019 09:06:29:51 -- GroupActivity.OnCreate 16.05.2019 09:06:29:52 -- GroupActivity:apptask= 16.05.2019 09:06:29:57 -- Loaded task keepass2android.NullTask 16.05.2019 09:06:29:187 -- GroupActivity.OnStart 16.05.2019 09:06:29:191 -- GroupActivity.OnResume 16.05.2019 09:06:29:192 -- DatabaseIsUnlocked=True 16.05.2019 09:06:29:194 -- Timeout cancel 16.05.2019 09:06:29:831 -- KeePass.OnStop 16.05.2019 09:06:29:835 -- KeePass.OnDestroyTrue 16.05.2019 09:06:29:837 -- KeePass.OnDestroyTrue 16.05.2019 09:06:49:696 -- GroupActivity.OnPause 16.05.2019 09:06:49:698 -- Timeout start 16.05.2019 09:06:49:713 -- StackBaseActivity.OnActivityResult FirstUser/0 16.05.2019 09:06:49:715 -- AppTask keepass2android.NullTask in OnActivityResult 16.05.2019 09:06:50:202 -- GroupActivity.OnStop 16.05.2019 09:06:50:212 -- GroupActivity.OnDestroyTrue 16.05.2019 09:06:54:199 -- Received broadcast intent: keepass2android.keepass2android.lock_database 16.05.2019 09:06:54:217 -- QuickLocking database 16.05.2019 09:06:54:238 -- Starting/Updating OngoingNotificationsService. Database QuickLocked 16.05.2019 09:08:30:651 -- KeePass.OnCreate 16.05.2019 09:08:30:654 -- KeePass:apptask= 16.05.2019 09:08:30:656 -- Loaded task keepass2android.NullTask 16.05.2019 09:08:30:658 -- KeePass.OnCreate 16.05.2019 09:08:30:674 -- KeePass.OnStart 16.05.2019 09:08:30:677 -- KeePass.OnStart 16.05.2019 09:08:30:759 -- Loaded task keepass2android.NullTask 16.05.2019 09:08:30:814 -- Starting QuickUnlock 16.05.2019 09:08:30:936 -- QuickUnlock.OnCreate 16.05.2019 09:08:30:937 -- QuickUnlock:apptask= 16.05.2019 09:08:31:27 -- requesting fingerprint permission 16.05.2019 09:08:31:42 -- QuickUnlock.OnStart 16.05.2019 09:08:31:48 -- QuickUnlock.OnResume 16.05.2019 09:08:31:49 -- DatabaseIsUnlocked=False 16.05.2019 09:08:31:60 -- InitFingerprintUnlock 16.05.2019 09:08:31:74 -- QuickUnlock.OnPause 16.05.2019 09:08:31:295 -- OnRequestPermissionsResult TrueTrue 16.05.2019 09:08:31:297 -- _fingerprintPermissionGranted 16.05.2019 09:08:31:298 -- InitFingerprintUnlock 16.05.2019 09:08:31:301 -- QuickUnlock.OnResume 16.05.2019 09:08:31:302 -- DatabaseIsUnlocked=False 16.05.2019 09:08:31:303 -- InitFingerprintUnlock 16.05.2019 09:08:31:348 -- KeePass.OnStop 16.05.2019 09:08:31:350 -- KeePass.OnDestroyTrue 16.05.2019 09:08:31:351 -- KeePass.OnDestroyTrue 16.05.2019 09:08:34:776 -- Locking database 16.05.2019 09:08:34:821 -- OngoingNotificationsService.OnDestroy 16.05.2019 09:08:34:838 -- QuickUnlock.OnPause 16.05.2019 09:08:34:853 -- StackBaseActivity.OnActivityResult Canceled/0 16.05.2019 09:08:34:855 -- TryGetFromActivityResult: no data 16.05.2019 09:08:34:910 -- FileSelect.OnCreate 16.05.2019 09:08:34:978 -- FileSelect.OnStart 16.05.2019 09:08:35:32 -- PasswordActivity.OnCreate 16.05.2019 09:08:35:34 -- PasswordActivity:apptask= 16.05.2019 09:08:35:286 -- PasswordActivity.OnStart 16.05.2019 09:08:35:291 -- PasswordActivity.OnResume 16.05.2019 09:08:35:292 -- DB null 16.05.2019 09:08:35:293 -- starting: True, Finishing: False, _performingLoad: False 16.05.2019 09:08:35:305 -- Pre-loading database file starting 16.05.2019 09:08:35:312 -- CFS: OpenWhenNoLocalChanges 16.05.2019 09:08:35:315 -- CFS: hashing cached version 16.05.2019 09:08:35:321 -- PasswordActivity.OnPause 16.05.2019 09:08:35:617 -- PasswordActivity.OnResume 16.05.2019 09:08:35:621 -- DB null 16.05.2019 09:08:35:624 -- starting: False, Finishing: False, _performingLoad: False 16.05.2019 09:08:36:0 -- FileSelect.OnStop 16.05.2019 09:08:36:123 -- FileSelect.OnDestroyTrue 16.05.2019 09:08:36:129 -- QuickUnlock.OnStop 16.05.2019 09:08:36:133 -- QuickUnlock.OnDestroyTrue 16.05.2019 09:08:36:258 -- System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in :0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in :0 at System.Threading.Tasks.Task.Wait () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.FtpClient.FtpSocketStream.ActivateEncryption (System.String targethost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCerts, System.Security.Authentication.SslProtocols sslProtocols) [0x0005e] in :0 at (wrapper remoting-invoke-with-check) System.Net.FtpClient.FtpSocketStream.ActivateEncryption(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols) at System.Net.FtpClient.FtpClient.Connect () [0x00183] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.b2_0 () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.DoInRetryLoop[T] (System.Func`1[TResult] func) [0x00020] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.Connect () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage.GetClient (KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean enableCloneClient) [0x000a1] in :0 at keepass2android.Io.NetFtpFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in :0 at keepass2android.Io.OfflineSwitchableFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00006] in :0 at keepass2android.Io.CachingFileStorage.UpdateCacheFromRemote (KeePassLib.Serialization.IOConnectionInfo ioc, System.String cachedFilePath) [0x00000] in :0 at keepass2android.Io.CachingFileStorage.OpenFileForReadWhenNoLocalChanges (KeePassLib.Serialization.IOConnectionInfo ioc, System.String cachedFilePath) [0x00023] in :0 at keepass2android.Io.CachingFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00030] in :0 ---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 <---

16.05.2019 09:08:36:265 -- Pre-loading database file completed 16.05.2019 09:08:38:609 -- PasswordActivity.OnPause 16.05.2019 09:08:38:623 -- StackBaseActivity.OnActivityResult FirstUser/1 16.05.2019 09:08:38:625 -- TryGetFromActivityResult: no data 16.05.2019 09:08:38:914 -- FileSelect.OnCreate 16.05.2019 09:08:38:969 -- FileSelect.OnStart 16.05.2019 09:08:38:976 -- FileSelect.OnResume 16.05.2019 09:08:39:664 -- PasswordActivity.OnStop 16.05.2019 09:08:39:669 -- PasswordActivity.OnDestroyTrue 16.05.2019 09:08:41:474 -- FileSelect.OnPause 16.05.2019 09:08:41:506 -- PasswordActivity.OnCreate 16.05.2019 09:08:41:508 -- PasswordActivity:apptask= 16.05.2019 09:08:41:641 -- PasswordActivity.OnStart 16.05.2019 09:08:41:648 -- PasswordActivity.OnResume 16.05.2019 09:08:41:649 -- DB null 16.05.2019 09:08:41:650 -- starting: True, Finishing: False, _performingLoad: False 16.05.2019 09:08:41:654 -- Pre-loading database file starting 16.05.2019 09:08:41:657 -- CFS: OpenWhenNoLocalChanges 16.05.2019 09:08:41:657 -- CFS: hashing cached version 16.05.2019 09:08:41:671 -- PasswordActivity.OnPause 16.05.2019 09:08:42:7 -- PasswordActivity.OnResume 16.05.2019 09:08:42:8 -- DB null 16.05.2019 09:08:42:10 -- starting: False, Finishing: False, _performingLoad: False 16.05.2019 09:08:42:392 -- FileSelect.OnStop 16.05.2019 09:08:42:482 -- FileSelect.OnDestroyTrue 16.05.2019 09:08:42:787 -- System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in :0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in :0 at System.Threading.Tasks.Task.Wait () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.FtpClient.FtpSocketStream.ActivateEncryption (System.String targethost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCerts, System.Security.Authentication.SslProtocols sslProtocols) [0x0005e] in :0 at (wrapper remoting-invoke-with-check) System.Net.FtpClient.FtpSocketStream.ActivateEncryption(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols) at System.Net.FtpClient.FtpClient.Connect () [0x00183] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.b2_0 () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.DoInRetryLoop[T] (System.Func`1[TResult] func) [0x00020] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.Connect () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage.GetClient (KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean enableCloneClient) [0x000a1] in :0 at keepass2android.Io.NetFtpFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in :0 at keepass2android.Io.OfflineSwitchableFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00006] in :0 at keepass2android.Io.CachingFileStorage.UpdateCacheFromRemote (KeePassLib.Serialization.IOConnectionInfo ioc, System.String cachedFilePath) [0x00000] in :0 at keepass2android.Io.CachingFileStorage.OpenFileForReadWhenNoLocalChanges (KeePassLib.Serialization.IOConnectionInfo ioc, System.String cachedFilePath) [0x00023] in :0 at keepass2android.Io.CachingFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00030] in :0 ---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 <---

16.05.2019 09:08:42:796 -- Pre-loading database file completed 16.05.2019 09:08:48:489 -- LockingActivity: OnActivityResult 16.05.2019 09:08:48:491 -- PasswordActivity.OnActivityResult 874348/1000 16.05.2019 09:08:48:506 -- status message: Initializing... 16.05.2019 09:08:48:508 -- status submessage: 16.05.2019 09:08:48:601 -- status message: Lade Datenbank… 16.05.2019 09:08:48:635 -- status submessage: Führe Schlüsseltransformationen durch… 16.05.2019 09:08:48:680 -- status submessage: Entschlüssele Datenbank… 16.05.2019 09:08:48:683 -- status submessage: Entschlüssele Datenbank… 16.05.2019 09:08:48:686 -- status submessage: Lese Datenbank ein… 16.05.2019 09:08:49:287 -- ReadXmlStreamed: 597ms 16.05.2019 09:08:49:297 -- status submessage: 16.05.2019 09:08:49:311 -- status message: Aktualisiere lokale Sicherungskopie... 16.05.2019 09:08:49:396 -- LoadDB OK 16.05.2019 09:08:49:397 -- Starting/Updating OngoingNotificationsService. Database Unlocked 16.05.2019 09:08:49:695 -- PasswordActivity.OnPause 16.05.2019 09:08:49:702 -- Timeout start 16.05.2019 09:08:49:720 -- StackBaseActivity.OnActivityResult Ok/1 16.05.2019 09:08:49:721 -- No AppTask in OnActivityResult 16.05.2019 09:08:49:909 -- GroupActivity.OnCreate 16.05.2019 09:08:49:911 -- GroupActivity:apptask= 16.05.2019 09:08:49:915 -- Loaded task keepass2android.NullTask 16.05.2019 09:08:50:14 -- GroupActivity.OnStart 16.05.2019 09:08:50:17 -- GroupActivity.OnResume 16.05.2019 09:08:50:18 -- DatabaseIsUnlocked=True 16.05.2019 09:08:50:19 -- Timeout cancel 16.05.2019 09:08:50:882 -- PasswordActivity.OnStop 16.05.2019 09:08:50:891 -- PasswordActivity.OnDestroyTrue 16.05.2019 09:09:01:78 -- GroupActivity.OnPause 16.05.2019 09:09:01:84 -- Timeout start 16.05.2019 09:09:01:109 -- StackBaseActivity.OnActivityResult FirstUser/0 16.05.2019 09:09:01:111 -- AppTask keepass2android.NullTask in OnActivityResult 16.05.2019 09:09:01:618 -- GroupActivity.OnStop 16.05.2019 09:09:01:623 -- GroupActivity.OnDestroyTrue 16.05.2019 09:09:03:325 -- KeePass.OnCreate 16.05.2019 09:09:03:328 -- KeePass:apptask= 16.05.2019 09:09:03:331 -- Loaded task keepass2android.NullTask 16.05.2019 09:09:03:332 -- KeePass.OnCreate 16.05.2019 09:09:03:345 -- KeePass.OnStart 16.05.2019 09:09:03:346 -- KeePass.OnStart 16.05.2019 09:09:03:426 -- Loaded task keepass2android.NullTask 16.05.2019 09:09:03:490 -- GroupActivity.OnCreate 16.05.2019 09:09:03:491 -- GroupActivity:apptask= 16.05.2019 09:09:03:496 -- Loaded task keepass2android.NullTask 16.05.2019 09:09:03:598 -- GroupActivity.OnStart 16.05.2019 09:09:03:603 -- GroupActivity.OnResume 16.05.2019 09:09:03:604 -- DatabaseIsUnlocked=True 16.05.2019 09:09:03:608 -- Timeout cancel 16.05.2019 09:09:04:46 -- KeePass.OnStop 16.05.2019 09:09:04:48 -- KeePass.OnDestroyTrue 16.05.2019 09:09:04:49 -- KeePass.OnDestroyTrue 16.05.2019 09:09:11:372 -- status message: Initializing... 16.05.2019 09:09:11:373 -- status submessage: 16.05.2019 09:09:11:429 -- status message: Synchronisiere gecachte Datenbank… 16.05.2019 09:09:11:436 -- status submessage: Quelldatei wird geladen … 16.05.2019 09:09:12:636 -- System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in :0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in :0 at System.Threading.Tasks.Task.Wait () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.FtpClient.FtpSocketStream.ActivateEncryption (System.String targethost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCerts, System.Security.Authentication.SslProtocols sslProtocols) [0x0005e] in :0 at (wrapper remoting-invoke-with-check) System.Net.FtpClient.FtpSocketStream.ActivateEncryption(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols) at System.Net.FtpClient.FtpClient.Connect () [0x00183] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.b2_0 () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.DoInRetryLoop[T] (System.Func`1[TResult] func) [0x00020] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.Connect () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage.GetClient (KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean enableCloneClient) [0x000a1] in :0 at keepass2android.Io.NetFtpFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in :0 at keepass2android.Io.OfflineSwitchableFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00006] in :0 at keepass2android.Io.CachingFileStorage.GetRemoteDataAndHash (KeePassLib.Serialization.IOConnectionInfo ioc, System.String& hash) [0x00006] in :0 at keepass2android.SynchronizeCachedDatabase.Run () [0x0005b] in :0 ---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 <---

16.05.2019 09:09:16:94 -- GroupActivity.OnPause 16.05.2019 09:09:16:101 -- Timeout start 16.05.2019 09:09:16:117 -- StackBaseActivity.OnActivityResult FirstUser/0 16.05.2019 09:09:16:119 -- AppTask keepass2android.NullTask in OnActivityResult 16.05.2019 09:09:16:666 -- GroupActivity.OnStop 16.05.2019 09:09:16:671 -- GroupActivity.OnDestroyTrue 16.05.2019 09:09:19:833 -- KeePass.OnCreate 16.05.2019 09:09:19:835 -- KeePass:apptask= 16.05.2019 09:09:19:837 -- Loaded task keepass2android.NullTask 16.05.2019 09:09:19:838 -- KeePass.OnCreate 16.05.2019 09:09:19:856 -- KeePass.OnStart 16.05.2019 09:09:19:860 -- KeePass.OnStart 16.05.2019 09:09:19:937 -- Loaded task keepass2android.NullTask 16.05.2019 09:09:20:33 -- GroupActivity.OnCreate 16.05.2019 09:09:20:35 -- GroupActivity:apptask= 16.05.2019 09:09:20:41 -- Loaded task keepass2android.NullTask 16.05.2019 09:09:20:161 -- GroupActivity.OnStart 16.05.2019 09:09:20:167 -- GroupActivity.OnResume 16.05.2019 09:09:20:168 -- DatabaseIsUnlocked=True 16.05.2019 09:09:20:169 -- Timeout cancel 16.05.2019 09:09:20:780 -- KeePass.OnStop 16.05.2019 09:09:20:784 -- KeePass.OnDestroyTrue 16.05.2019 09:09:20:785 -- KeePass.OnDestroyTrue 16.05.2019 09:09:27:570 -- GroupActivity.OnPause 16.05.2019 09:09:27:578 -- Timeout start 16.05.2019 09:09:27:603 -- StackBaseActivity.OnActivityResult FirstUser/0 16.05.2019 09:09:27:604 -- AppTask keepass2android.NullTask in OnActivityResult 16.05.2019 09:09:28:125 -- GroupActivity.OnStop 16.05.2019 09:09:28:130 -- GroupActivity.OnDestroyTrue 16.05.2019 09:16:43:308 -- Received broadcast intent: keepass2android.keepass2android.lock_database 16.05.2019 09:16:43:313 -- QuickLocking database 16.05.2019 09:16:43:338 -- Starting/Updating OngoingNotificationsService. Database QuickLocked 16.05.2019 09:20:31:711 -- KeePass.OnCreate 16.05.2019 09:20:31:714 -- KeePass:apptask= 16.05.2019 09:20:31:716 -- Loaded task keepass2android.NullTask 16.05.2019 09:20:31:717 -- KeePass.OnCreate 16.05.2019 09:20:31:734 -- KeePass.OnStart 16.05.2019 09:20:31:735 -- KeePass.OnStart 16.05.2019 09:20:31:812 -- Loaded task keepass2android.NullTask 16.05.2019 09:20:31:825 -- Starting QuickUnlock 16.05.2019 09:20:31:879 -- QuickUnlock.OnCreate 16.05.2019 09:20:31:880 -- QuickUnlock:apptask= 16.05.2019 09:20:31:953 -- requesting fingerprint permission 16.05.2019 09:20:31:966 -- QuickUnlock.OnStart 16.05.2019 09:20:31:972 -- QuickUnlock.OnResume 16.05.2019 09:20:31:973 -- DatabaseIsUnlocked=False 16.05.2019 09:20:31:975 -- InitFingerprintUnlock 16.05.2019 09:20:31:986 -- QuickUnlock.OnPause 16.05.2019 09:20:32:290 -- OnRequestPermissionsResult TrueTrue 16.05.2019 09:20:32:292 -- _fingerprintPermissionGranted 16.05.2019 09:20:32:293 -- InitFingerprintUnlock 16.05.2019 09:20:32:300 -- QuickUnlock.OnResume 16.05.2019 09:20:32:302 -- DatabaseIsUnlocked=False 16.05.2019 09:20:32:303 -- InitFingerprintUnlock 16.05.2019 09:20:32:375 -- KeePass.OnStop 16.05.2019 09:20:32:377 -- KeePass.OnDestroyTrue 16.05.2019 09:20:32:378 -- KeePass.OnDestroyTrue 16.05.2019 09:20:37:384 -- QuickUnlock successful! 16.05.2019 09:20:37:405 -- Starting/Updating OngoingNotificationsService. Database Unlocked 16.05.2019 09:20:37:432 -- QuickUnlock.OnPause 16.05.2019 09:20:37:449 -- StackBaseActivity.OnActivityResult Canceled/0 16.05.2019 09:20:37:450 -- TryGetFromActivityResult: no data 16.05.2019 09:20:37:507 -- GroupActivity.OnCreate 16.05.2019 09:20:37:508 -- GroupActivity:apptask= 16.05.2019 09:20:37:512 -- Loaded task keepass2android.NullTask 16.05.2019 09:20:37:621 -- GroupActivity.OnStart 16.05.2019 09:20:37:626 -- GroupActivity.OnResume 16.05.2019 09:20:37:627 -- DatabaseIsUnlocked=True 16.05.2019 09:20:37:629 -- Timeout cancel 16.05.2019 09:20:38:523 -- QuickUnlock.OnStop 16.05.2019 09:20:38:526 -- QuickUnlock.OnDestroyTrue 16.05.2019 09:20:43:794 -- status message: Initializing... 16.05.2019 09:20:43:796 -- status submessage: 16.05.2019 09:20:43:840 -- status message: Synchronisiere gecachte Datenbank… 16.05.2019 09:20:43:846 -- status submessage: Quelldatei wird geladen … 16.05.2019 09:20:45:19 -- System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in :0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in :0 at System.Threading.Tasks.Task.Wait () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.FtpClient.FtpSocketStream.ActivateEncryption (System.String targethost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCerts, System.Security.Authentication.SslProtocols sslProtocols) [0x0005e] in :0 at (wrapper remoting-invoke-with-check) System.Net.FtpClient.FtpSocketStream.ActivateEncryption(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols) at System.Net.FtpClient.FtpClient.Connect () [0x00183] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.b2_0 () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.DoInRetryLoop[T] (System.Func`1[TResult] func) [0x00020] in :0 at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.Connect () [0x00000] in :0 at keepass2android.Io.NetFtpFileStorage.GetClient (KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean enableCloneClient) [0x000a1] in :0 at keepass2android.Io.NetFtpFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in :0 at keepass2android.Io.OfflineSwitchableFileStorage.OpenFileForRead (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00006] in :0 at keepass2android.Io.CachingFileStorage.GetRemoteDataAndHash (KeePassLib.Serialization.IOConnectionInfo ioc, System.String& hash) [0x00006] in :0 at keepass2android.SynchronizeCachedDatabase.Run () [0x0005b] in :0 ---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at Mono.Net.Security.MobileAuthenticatedStream+<>cDisplayClass66_0.b0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in :0 at Mono.Net.Security.AsyncProtocolRequest+d23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 <---

16.05.2019 09:20:51:819 -- GroupActivity.OnPause 16.05.2019 09:20:51:821 -- Timeout start 16.05.2019 09:20:51:863 -- DatabaseSettingsActivity.OnCreate 16.05.2019 09:20:51:866 -- DatabaseSettingsActivity:apptask= 16.05.2019 09:20:52:648 -- DatabaseSettingsActivity.OnStart 16.05.2019 09:20:52:652 -- DatabaseSettingsActivity.OnResume 16.05.2019 09:20:52:654 -- DatabaseIsUnlocked=True 16.05.2019 09:20:52:655 -- Timeout cancel 16.05.2019 09:20:53:354 -- GroupActivity.OnStop

karkla commented 5 years ago

Yep, same here. Just wanted to create the same issue. With the plain FTP it's still working. With an alternate file browser it's also working perfectly with FTPS. So, it's not a certificate or problem of the FritzBox. Isn't it possible to store the IP and credentials? The myfritz-Domainname is very long and also my used password is very long. It's really painful to copy&paste this each time.

btw. the Android FilePicker with the AVM Fritz!NAS is also not working in KP2A

wgdwgd commented 5 years ago

Is there any solution yet? I use keepass on my mobile and on desktop. The database is on my fritz!nas. Because I have a lot of passwords to synchronize at home and on the road I need this frature urgent.

ei146 commented 5 years ago

Same here, that's why I created this issue. I am new to Github and I don't know if this is the preferred way of reporting bugs and getting the developers attention. So anybody who knows please help. We have now 3 people reporting this issue independently from each other. I guess it would not hurt if others leave their comments here, if they are affected and want a fix. And an additional note: Using unencrypted ftp is not a viable workaround for me. While the Keepass DB is encrypted and probably safe - login credentials are not. Also the FritzBox does not allow to disable ftp encryption per user, using it would make all users unencrypted.

C-O-D commented 5 years ago

The same here, alternate file manager (in my case Solid Explorer) does work but isn't an option since the database is loaded from SE cache and when the cache ist deleted K2A can't find it anymore and you have to repeat the whole procedure. I really need sftp to work again...

SFB1 commented 5 years ago

I have the same problem.

Seriousitchy commented 5 years ago

+1

Accessing the FTPS services with Dateimanager+ and Total commander is working fine.

kr028 commented 5 years ago

Same issue here since about 5 days (FTPS not working anymore, while FTP is). Before that it was working perfectly. Couldn't find a solution yet. Access with any other browser/fileexplorer is working, as mentioned by users above. Also FTPS access with Windows 10 and Ubuntu 18.04 (KeePass 2.xx) is working. Reseting the Fritz!Box 7490 (OS 7.11) to manufactury defaults didn't help either. K2A gives the same error output in the logfile as above: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 --- End of inner exception stack trace ---

A rapid response to this problem would be most appreciated.

@PhilippC

681

wgdwgd commented 5 years ago

Is there a plan to solve this problem?

Lineflyer commented 5 years ago

After setting up a password storage on my Fritzbox I noticed the same issue as described here. Can not provide a stacktrace right now, but the error message is the same: "Kann nicht zum Datei-Dienst verbinden. One or more errors occured".

What I am trying to do is using FTPS (Explicit FTP over TLS). According to my Fritzbox there is not even a connection attempt, so the problem seems to be even before reaching that state. Unencrypted FTP works without problem towards the same destination, explicit FTP over TLS works with other tools on same device.

Keepass2Android version: 1.0r-r1 Device: Samsung Galaxy S10, Android 9

I would also be interested in a solution and volunteering to test if needed.

Lineflyer commented 5 years ago

For completeness here is the debug log corresponding to my comment above:

17.06.2019 12:12:31:226 -- DatabaseSettingsActivity.OnPause
17.06.2019 12:12:31:230 -- Timeout start
17.06.2019 12:12:31:252 -- GroupActivity.OnStart
17.06.2019 12:12:31:253 -- GroupActivity.OnResume
17.06.2019 12:12:31:254 --  DatabaseIsUnlocked=True
17.06.2019 12:12:31:254 -- Timeout cancel
17.06.2019 12:12:31:617 -- DatabaseSettingsActivity.OnStop
17.06.2019 12:12:31:619 -- DatabaseSettingsActivity.OnDestroyTrue
17.06.2019 12:12:33:7 -- GroupActivity.OnPause
17.06.2019 12:12:33:8 -- Timeout start
17.06.2019 12:12:33:28 -- StackBaseActivity.OnActivityResult 11/0
17.06.2019 12:12:33:29 -- AppTask keepass2android.NullTask in OnActivityResult
17.06.2019 12:12:33:71 -- FileSelect.OnCreate
17.06.2019 12:12:33:96 -- FileSelect.OnStart
17.06.2019 12:12:33:97 -- FileSelect.OnResume
17.06.2019 12:12:33:453 -- GroupActivity.OnStop
17.06.2019 12:12:33:454 -- GroupActivity.OnDestroyTrue
17.06.2019 12:12:33:887 -- FileSelect.OnPause
17.06.2019 12:12:33:901 -- SelectStorageLocationActivity.OnCreate
17.06.2019 12:12:34:323 -- FileSelect.OnStop
17.06.2019 12:12:34:800 -- onAR
17.06.2019 12:12:34:800 -- base.onAR
17.06.2019 12:12:34:955 -- found 80 in 81
17.06.2019 12:12:42:21 -- found 80 in 81
17.06.2019 12:12:44:8 -- found 80 in 81
17.06.2019 12:12:46:447 -- found 80 in 81
17.06.2019 12:12:50:893 -- System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<>c__DisplayClass66_0.<InnerRead>b__0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<InnerRead>d__66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<ProcessAuthentication>d__47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at System.Net.FtpClient.FtpSocketStream.ActivateEncryption (System.String targethost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCerts, System.Security.Authentication.SslProtocols sslProtocols) [0x0005e] in <fa73adbc644349c1840b8453fb5582e1>:0 
  at (wrapper remoting-invoke-with-check) System.Net.FtpClient.FtpSocketStream.ActivateEncryption(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols)
  at System.Net.FtpClient.FtpClient.Connect () [0x00183] in <fa73adbc644349c1840b8453fb5582e1>:0 
  at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.<Connect>b__2_0 () [0x00000] in <d9555282dea14061ab4400355adad9e4>:0 
  at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.DoInRetryLoop[T] (System.Func`1[TResult] func) [0x00020] in <d9555282dea14061ab4400355adad9e4>:0 
  at keepass2android.Io.NetFtpFileStorage+RetryConnectFtpClient.Connect () [0x00000] in <d9555282dea14061ab4400355adad9e4>:0 
  at keepass2android.Io.NetFtpFileStorage.GetClient (KeePassLib.Serialization.IOConnectionInfo ioc, System.Boolean enableCloneClient) [0x000a1] in <d9555282dea14061ab4400355adad9e4>:0 
  at keepass2android.Io.NetFtpFileStorage.GetFileDescription (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in <d9555282dea14061ab4400355adad9e4>:0 
  at keepass2android.Io.OfflineSwitchableFileStorage.GetFileDescription (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in <d9555282dea14061ab4400355adad9e4>:0 
  at keepass2android.Io.CachingFileStorage.GetFileDescription (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in <d9555282dea14061ab4400355adad9e4>:0 
  at keepass2android.FileChooserFileProvider.GetFileEntry (System.String filename, Java.Lang.StringBuilder errorMessageBuilder) [0x00013] in <42483a0e42cb482da6be36caa63cd922>:0 
---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<>c__DisplayClass66_0.<InnerRead>b__0 () [0x0002b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Threading.Tasks.Task.Execute () [0x00010] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<InnerRead>d__66.MoveNext () [0x000ff] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x00093] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x0008b] in <72bbe018e812448490f1ea85c1dcd2e2>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a2068f8b3f6f40d0ad70bc362d4b0524>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<ProcessAuthentication>d__47.MoveNext () [0x00254] in <72bbe018e812448490f1ea85c1dcd2e2>:0 <---

17.06.2019 12:12:54:990 -- onAR
17.06.2019 12:12:54:991 -- base.onAR
17.06.2019 12:12:55:17 -- FileSelect.OnStart
17.06.2019 12:12:55:18 -- FileSelect.OnResume
17.06.2019 12:12:56:553 -- FileSelect.OnPause
17.06.2019 12:12:56:570 -- StackBaseActivity.OnActivityResult Canceled/1
17.06.2019 12:12:56:570 -- TryGetFromActivityResult: no data
17.06.2019 12:12:56:600 -- GroupActivity.OnCreate
17.06.2019 12:12:56:600 -- GroupActivity:apptask=
17.06.2019 12:12:56:602 -- Loaded task keepass2android.NullTask
17.06.2019 12:12:56:623 -- GroupActivity.OnStart
17.06.2019 12:12:56:624 -- GroupActivity.OnResume
17.06.2019 12:12:56:624 --  DatabaseIsUnlocked=True
17.06.2019 12:12:56:624 -- Timeout cancel
17.06.2019 12:12:57:16 -- FileSelect.OnStop
17.06.2019 12:12:57:72 -- FileSelect.OnDestroyTrue
17.06.2019 12:12:58:505 -- GroupActivity.OnPause
17.06.2019 12:12:58:505 -- Timeout start
17.06.2019 12:12:58:520 -- DatabaseSettingsActivity.OnCreate
17.06.2019 12:12:58:520 -- DatabaseSettingsActivity:apptask=
17.06.2019 12:12:58:553 -- DatabaseSettingsActivity.OnStart
17.06.2019 12:12:58:554 -- DatabaseSettingsActivity.OnResume
17.06.2019 12:12:58:554 --  DatabaseIsUnlocked=True
17.06.2019 12:12:58:554 -- Timeout cancel
17.06.2019 12:12:58:916 -- GroupActivity.OnStop
brainnex commented 5 years ago

Same problem here. I just installed the app from playstore but cannot connect to the sftp on the fritzbox.

BloodXPride commented 5 years ago

Same issue here, accessing my fritzbox (FritzNAS) via "FTPS/FTPES over TLS explizite" is not working anymore. It will be really nice if you can provide a solution in near future. With older versions, its also not working anymore. But i think its a general problem caused by android 9 OR the FritzBox update from version 07.01 to 07.11. Not want to upload my *.kdbx to googledrive or any other unseriouse hosting provider.

StormBird38 commented 5 years ago

I have the quite same issue here, I have noticed something that might be helpful for the programmer to provide a solution:

When I tried to open my file via ftp(s) on my FritzBox, I got the "Can't connect..." error. When I also entered the optional path to file it also failed, but: In the list of formerly opened databases the ftp-located database appears, but it is shown as ftp://... instead of ftps://... In the opening dialog I had chosen the option "explicit encoding". Perhaps the problem is that the App doesn't sets the "encoded/ftps" flag?

erichegit commented 5 years ago

After updating the firmware of my fritzbox to the latest, I also face this issue. With Totalcommander and the ftps connection from my Android phone, I received a message that something changed - after accepting it, the connection was working fine.

In hope there is a solution comming soon - I miss Keepass on my phone :(

Lineflyer commented 5 years ago

@erichegit Interesting information, that the problem started for you after upgrading your fritzbox. My fritzbox is rather new and I received it with FW7.11 (Model 7590). Can you name the old version where it worked and the new version where it stopped working (and the fritzbox model)?

As there is no progress on this issue here, it would be interesting to find out what changed on fritzbox. Before I read your posting I thought the problem is related to a change in Keypass and not in Fritzbox, now I am no longer sure, this is the case.

Can others also report, when it started and whether a firmware change on Fritzbox might be the reason?

erichegit commented 5 years ago

Fritzbox 7490 Firmware working with Keepass2Android = v07.01

Broken after upgrading to v07.11

in the release LOG I read pretty much where they touched FTP

Example Security:

BloodXPride commented 5 years ago

@erichegit Did you already downgraded your FritzBox firmware to v07.01? Does it work again after this procedure? I will definitely try it myself if no response will come from you/ here.

erichegit commented 5 years ago

I didn`t try to downgrade, but I am 100% sure it will work ;)

BloodXPride commented 5 years ago

You are right. Downgraded yesterday and it is working again with v07.01 without any problems. So we can be 100% sure it is caused by the new FritzBox firmware v07.11!

Lineflyer commented 5 years ago

in the release LOG I read pretty much where they touched FTP

Example Security:

Verbesserung: Zugriff über FTPS unterstützt zusätzlich ECDHE-Chiffren

I cant see that at least in release notes of Fritzbox 7590:

https://avm.de/service/downloads/update-news/download/show/YToyOntzOjc6ImRpc3BsYXkiO3M6MTQ6IkZSSVRaIUJveCA3NTkwIjtzOjM6InVybCI7czo3ODoiaHR0cDovL2Rvd25sb2FkLmF2bS5kZS9mcml0emJveC9mcml0emJveC03NTkwL2RldXRzY2hsYW5kL2ZyaXR6Lm9zL2luZm9fZGUudHh0Ijt9/

Lineflyer commented 5 years ago

Might it be useful to link the AVM support to this issue or is this waste of time? I have no experience with the expert level of their support and whether they are interested in such interworking issues.

erichegit commented 5 years ago

As I wrote - other FTP Clients from my Android Phone don`t have this problem with v7.11! So for me the problem is not the new Firmware from the Fritzbox - it is on the FTP client Keepass2Android uses,...

For sure it could be fixed in this GIT Repository, if someone debugs this issue.

Lineflyer commented 5 years ago

I am not able to debug this in detail. My guess(!) would be that the change which triggers this bug (on whatever side the root cause may be) is this one: https://github.com/PhilippC/keepass2android/commit/cdbb492f2c397d7872ff2ebc4faf6735c01920a0#diff-a0915ff1482fedd229a16dbe6c7d838e

To doublecheck that, one could download and try a kp2a release before v1.06f, which is v1.05e and can be found here, in conjunction with Fritzbox v7.11: https://github.com/PhilippC/keepass2android/releases/download/1.05e/keepass2android.keepass2android-1.05e.apk

If anyone here has time and possibility to do this, feel free to give it a try. I will probably only have time in some weeks to try it.

StormBird38 commented 5 years ago

I am not able to debug this in detail. My guess(!) would be that the change which triggers this bug (on whatever side the root cause may be) is this one: cdbb492#diff-a0915ff1482fedd229a16dbe6c7d838e

To doublecheck that, one could download and try a kp2a release before v1.06f, which is v1.05e and can be found here, in conjunction with Fritzbox v7.11: https://github.com/PhilippC/keepass2android/releases/download/1.05e/keepass2android.keepass2android-1.05e.apk

If anyone here has time and possibility to do this, feel free to give it a try. I will probably only have time in some weeks to try it.

Doesn't work, tried with v1.05e on FritzBox 6490 with FW 7.10. Unencrypted FTP is ok...

kr028 commented 5 years ago

I just finished an erroranalysis with the AVM support. After analysing the fritz!box 7490 support data (logfile) generated by OS 7.01 after establishing the connection via FTPS as well as those by OS 7.11 after failing to connect and the Keepass2Android erroroutput they came to the conclusion the error is linked to OS 7.11 supporting TLS 1.1/1.2 only. This also explains why the unencrypted FTP connection can be established under OS 7.11 and why other browsers are working fine with FTPS too (seemingly capable of TLS 1.1/1.2). So obviously the FTPS client in K2A has to be updated to support the above mentioned standards. The error has to be solved there.

A response by the developer would be highly appreciated.

@PhilippC @Px7-941

681

EDIT: Maybe the solution can be found by implementing code as described here: https://github.com/robinrodricks/FluentFTP#faq_ftps

Prevent the OS from using TLS 1.0 which has issues in .NET Framework. client.SslProtocols = SslProtocols.Default | SslProtocols.Tls11 | SslProtocols.Tls12;

karkla commented 5 years ago

Jep, that's it. I just confirmed it via Wireshark while comparing K2A and FTPS with different Versions. FritzBox is accepting TLS 1.1 and 1.2 ... while K2A is trying to connect with TLS 1.0 . FritzBox also rejects TLS 1.0 from WinSCP if this is set as maximum allowed version.

StormBird38 commented 5 years ago

Jep, that's it. I just confirmed it via Wireshark while comparing K2A and FTPS with different Versions. FritzBox is accepting TLS 1.1 and 1.2 ... while K2A is trying to connect with TLS 1.0 . FritzBox also rejects TLS 1.0 from WinSCP if this is set as maximum allowed version.

Right..

Produkt: FRITZ!Box 6490 Cable Version: FRITZ!OS 7.10 Sicherheit: Änderung Unterstützung des veralteten TLS-1.0-Standards für die Sicherung von FRITZ!OS-Diensten in Serverrolle abgeschaltet

ei146 commented 5 years ago

Great to see that the source of the problem was identified. Thank you all for your contributions! What can we do now to get the attention of the developers?

@PhilippC @Px7-941

681

ei146 commented 5 years ago

I changed the title to reflect the findings.

PhilippC commented 5 years ago

sorry for the extremely late reply. I decided to shift my focus to family and other volunteer work for the past few months, but now I'm back :-) Thanks for the investigation to everybody. Will try to update for the next release.

Lineflyer commented 5 years ago

@PhilippC Nice to hear that. Very much appreciated. I think there are quite some users which rely on FTPS and have their database stored on own servers.

DerRockWolf commented 5 years ago

In the meantime everyone who has a Fritz!Box can connect (while connected to the Fritz!Box via Wifi or VPN) via the hostname: fritz.nas , without encryption and the login details.

cynicotb commented 5 years ago

I have same issue. Not only ftps but non of the encrypted protocols work anymore to contact the fritz-nas. DerRockWolf would you please elaborate on your workaround? So far my only workaround is to download the database from the fritz-nas to my phone by the fritz-app; change the local file in k2a, and then upload it again by the fritz-app. This is cumbersome.

DerRockWolf commented 5 years ago

@cynicotb You just need to open your database via FTP with the hostname "fritz.nas" and your login as shown in the screenshot below. If you are connected to your wifi network you can just access and sync the database. If you aren't connected to your home network you can establish a VPN connection to your home network with the MyFritz!App.
Keepass2Android FTP access

cynicotb commented 5 years ago

@DerRockWolf Thanks for the explanation. I had not yet discovered the vpn function in the myfritz-app. That is, I presume you mean this 'home network function' sets up a vpn connection for dummies like me?

DerRockWolf commented 5 years ago

@cynicotb Yes its the "home network connection" function which sets up a vpn connection to your Fritz!Box

ei146 commented 5 years ago

@DerRockWolf Do I understand it correctly, that your workaround requires the use of AVM's MyFritz Cloud functionality? If this is the case, please be aware that some people may not want this or can not do this. The original ftps functionality works with every DynDNS name or even the IP address directly.

DerRockWolf commented 5 years ago

@ei146 No, my workaround doesn't need MyFritz Cloud. Everything is the same, except that you need to use "fritz.nas" instead of the ftps ip and that you have to be connected to your home network either via wifi or the vpn within the MyFritz App.

Wasn't the issue that you couldn't connect via the ip address directly?

ei146 commented 5 years ago

@DerRockWolf The issue was and still is that encrypted connections to the Fritzbox can not be established, while unencrypted connections work fine. This is because keepass2android supports TLS 1.0 while the Fritzbox requires 1.1 or higher. And as noted earlier: Using unencrypted ftp is no option, not even in the home network.

DerRockWolf commented 5 years ago

@ei146 I know what the issue is about. But my workaround isn't about disabling the encryption. It could be, that ftp is never encrypted within the homenetwork... I only used the hostname instead of the ip. I haven't changed to unencrypted ftp.

ei146 commented 5 years ago

@DerRockWolf Maybe your approach is to advanced for my simple mind. Could you please verify what you do? Is it like this?

  1. You have your keepass2android device in your home network (either directly or via VPN)
  2. You open the database using FTP.
  3. hostname is "fritz.nas". Not fritz.box, not some DynDNS hostname, not some MyFritz hostname, not some private or public IPv4 or IPv6 IP address.
  4. What port do you use?
  5. According to your screen shot you use unencrypted ftp?
  6. You use the login credentials of your ftp user. Is this correct? If yes: Yes, this works. And this was known from very early this thread already. Unencrypted ftp works. And the Fritzbox allows ftp connections from the internal network to be unencrypted, even if ftps is enforced on external connections. And as said before this workaround still has two major drawbacks: -Keepass2android has to be in the internal network (maybe via VPN). This is a place where some of the devices I use should never be (e.g. some equipment I got from my employer). BTW it does not matter if you use fritz.box or fritz.nas or the internal IP address. There is no difference as all the names are resolved to the local address anyway. -Unencrypted ftp is used. So while the keepass database is encrypted and should be safe the login credentials travel unencrypted and can be easily sniffed. Or do you something completly different? Then please explain.
cynicotb commented 5 years ago

I get confused. I thought that, if I used a VPN that is set up by a Vpn-server that turns on the Fritzbox, to connect to the Fritzbox, my log in credentials were NOT snifable even if I use the ftp protocol, because they travel through any network, encrypted by the VPN, until they reach the Fritzbox VPN-server where they are finally decrypted. Please correct me if I am wrong.

DerRockWolf commented 5 years ago

@ei146 Yes, it is like this.

You said that there are some devices which should never be connected to the the internal network. Then why do you need to have a private KeePass database on these devices if these are from your employer?

Are you really sure that your login details travel even anywhere? Isn't Keepass2android only pulling the database file, storing it locally and syncing it? And even if the login details travel to the fritzbox they will be protected by the VPN from the MyFritz App. (as @cynicotb mentioned) That's the point of it.

ei146 commented 5 years ago

@cynicotb You are correct. But one thing is important: The VPN tunnel created by the Fritzbox connects not only to the Fritzbox, but to the local network of the Fritzbox. So if everything works well packets coming from the VPN adressed to the Fritzbox will be terminated there. Packets for a destination in the local network (maybe your printer or so) will be forwarded to the destination. And broadcasts frames go out to the whole network. I have reasons not to want a VPN tunnel to my private network.

@DerRockWolf Of course the username/password go to the ftp-server of the Fritzbox, and with unencrypted ftp they are transmitted in clear. If the VPN protection is enough for you, then fine.

Anyway, it makes no sense to spend to much time discussing the pros and cons of some workarounds. Let's have the original problem fixed.

DerRockWolf commented 5 years ago

@ei146 I don't know everything, but your answers just seem off. It makes no sense to discuss this further.

ei146 commented 5 years ago

@DerRockWolf It was not my intention to annoy, offend or insult you or anyone. If it happened anyway I apologise.

cynicotb commented 5 years ago

Imho @ei.146 is refering to unencrypted login credentials withIN the home network for the Fritzbox; and @rockwolf is refering to login credentials for the kdbx database (which I hope he is right, don't travel the internet because keepass2android is indeed pulling and saving locally? @PhilippC)

PhilippC commented 5 years ago

of course KP2A will never let the master password leave the app!

DerRockWolf commented 5 years ago

Oh, now I see what you are referring to @ei146 Now it makes sense that you have security concerns. I'm sorry for misunderstanding.

PhilippC commented 4 years ago

can someone provide me testing credentials for this issue? Please send to crocoapps@gmail.com