PhilippC / keepass2android

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

online DB not accessible (sync fail) when network uses a PiHole DNS-based ad blocker #2189

Open squintarelli opened 1 year ago

squintarelli commented 1 year ago

I am using Keepass version 1.09c-r0 and 1.09b on android.
At home we have a pihole DNS-based network ad blocker. Our KDBX files are stored on our nextcloud server in an external datacenter.

Access to our nextcloud server works smoothly through our home wifi for other apps (e.g. nextcloud own app and others), so I have the proof that DAV access to our nextcloud server works from our home network and pihole does not interfere.

Access to the KDBX does not work when connecting through our home wifi (so when we use our pihole DNS). A timeout error is shown.

Access to the KDBX work smoothly when connected to our mobile operators (so when we use their DNS server)

This apparently leads to the conclusion that, when accessing our remote server, some calls are made to another server, which is inhibited by pihole.

It seems that OpenTelemetry is used; maybe is ths the source of the problem ?

If yes, is there a way to disable it ? (or, at least, knowing which server is used, so I can whitelist it in the DNS blocker?).

If no, any suggestion of a possible solution ?

mayonezo commented 1 year ago

I've got the same setup and problem with keepass2 on my Laptops and PCs and keepass2android on the phones.