PhilippC / keepass2android

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

FTPS is crashing on initial openning of the database #2289

Open jakubsuchybio opened 1 year ago

jakubsuchybio commented 1 year ago

Hi, I'm connecting to my ftp. When I disable TLS it works fine. But when I enable TLS it goes to the file list, but it shows it empty.

in the logs I found this:

3/23/2023 6:13:15 PM:915 -- FluentFTP.FtpCommandException: Unable to build data connection: Operation not permitted
  at keepass2android.Io.NetFtpFileStorage.ListContents (KeePassLib.Serialization.IOConnectionInfo ioc) [0x0010b] in <0218d9a0a246400eb61cf9b0c47299ea>:0
  at keepass2android.Io.OfflineSwitchableFileStorage.ListContents (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in <0218d9a0a246400eb61cf9b0c47299ea>:0
  at keepass2android.Io.CachingFileStorage.ListContents (KeePassLib.Serialization.IOConnectionInfo ioc) [0x00000] in <0218d9a0a246400eb61cf9b0c47299ea>:0
  at keepass2android.FileChooserFileProvider.ListFiles (System.Int32 taskId, System.String dirName, System.Boolean showHiddenFiles, System.Int32 filterMode, System.Int32 limit, System.String positiveRegex, System.String negativeRegex, System.Collections.Generic.IList`1[T] fileList, System.Boolean[] hasMoreFiles) [0x00012] in <7165a5adb3574afbabf24b0ad4c46188>:0
PhilippC commented 1 year ago

which server are you using? Could this be related to https://github.com/robinrodricks/FluentFTP/issues/1085?

jakubsuchybio commented 1 year ago

I'm connecting to my own server. Its the FTP server that is part of my TrueNAS server which is on version - TrueNAS-13.0-U4 image image

roebotron commented 6 months ago

Same problem here: Connecting to proftpd 1.3.7a (provided by Openmediavault) fails with FTPS. Since I'm stuck to this version by using OMV, is there any chance to work around this bug?