PhilippC / keepass2android

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

[BUG] Opening a kdbx file from unreachable FTP Server is loading extremly long #2605

Open whosithat opened 6 months ago

whosithat commented 6 months ago

Checks

Describe the bug you encountered:

Hey everybody,

I've stored my kdbx file on my FritzBox NAS (USB-Stick) and at home everything is working fine.

But if I'm trying to opening the same file somewhere outside of my home (meaning using the 5G and not being in the WLAN) it is loading very long (up to 2 minutes). So it seems, that for some reason it is not running into the timeout....

Describe what you expected to happen:

The App should run into the timeout and use the local temporary file for the usage.

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

14 / Android Security Update 05.05.2024

TMadMac commented 6 months ago

Same issue here with quite same version :

What version of Keepass2Android are you using? 1.10-pre

Which version of Android are you on? 14 / Android Security Update 04.01.2024

With the same version of Keepass2Android with android 10 psecurity patch 2020-09-01 I can not reproduce the same bug.

waynelimt commented 5 months ago

Hi, I also have the same issue. It is due to the timeout for FTP servers that are set at quite a large value (i'm guessing at least 30 seconds). Is there any way to allow us to set timeout value for FTP as well? I saw this option in the SFTP settings but not in the FTP settings.

P.S. This app works very well other than this issue, thank you so much for your hard work

tome9111991 commented 4 months ago

i have same problem, i use a fritzbox with openwrt FTPS sever Keepass2Android log2.txt

EDIT Works good when i use FTP without TLS

No issue with v1.09e-r7 FTP and FTPS