smarek / android-unbound-dns

Unbound DNS for Android
Apache License 2.0
35 stars 17 forks source link

Trust anchor presented twice on reboot #20

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi all,

As in the subject description, maybe this is a legitimate error, or, common to be disregarded? I can delete root.key, killall dnscrypt-proxy and unbound in terminal emulator, stopt unbound android licaon_kter build 9 in default app manager, start by tapping the app icon, and the error is released.

This shouldn't be common practice , please fix this.

licaon-kter commented 7 years ago

I see some errors that I can't explain exactly ( aka @smarek might need to take a look at ), eg. on first run it takes a lot of time to generate all the needed files, while seemingly it does nothing as mainlog in still empty, you can try to stop/restart/cleandata and after some tries it will start ok: generate everything (key/pem) ok and run.

If you have root you can speed it up by stopping the app, deleting all the generated files (pem, keys etc), and restarting it.

ghost commented 7 years ago

@licaon-kter ok your method to stop the app, delete ALL generated files and restart it is the proper workaround.

thanks for the hint.