blokadaorg / blokada

The official repo for Blokada apps.
https://blokada.org
3.04k stars 215 forks source link

Network settings pretty much unusable #933

Open Artim96 opened 2 years ago

Artim96 commented 2 years ago

It's a great feature to set different settings for both mobile/WiFi and specific networks when it comes to DoH settings. Sadly, this feature is pretty much unusable on WiFi. It pretty much never is able to tell that it is connected to a WiFi that has separate settings, while many times it can't even tell that it is on WiFi, falling back to the general network settings. Even when I have it actively detect networks and switching WiFi off and on to finally detect what network it's connected to, this only lasts for a very short time. This issue is causing many reconnects of the VPN thus allowing ads to be loaded during the time it reconnects, also causing battery drain and often resulting in DNS errors because the wrong settings are used. A fix of that would be greatly appreciated

This issue is present for at least over a year now on at least both Android 12 and 13 on Pixel 3a and 12.

blokada5.log.txt

lazynooblet commented 2 years ago

Same issue. I've started using blokada recently and I need to turn wi-fi off and back on again regularly for it to detect it's on a configured network with different settings.

Artim96 commented 2 years ago

I wish it was that easy. It only detects anything after explicitly telling it to recognize networks. And then just works for a moment

kar commented 1 year ago
  1. Make sure you give it all perms, including "location in bg" that you may need to activate in system preferences for Blokada.
  2. Try the newest build here: https://github.com/blokadaorg/blokada/releases/download/android-v22.4.7/app-five-release.apk

Unfortunately Android doesn't provide any decent api to implement this functionality, so it may never work well on all devices.

Artim96 commented 1 year ago

Thanks, but after removing the encrypted DNS servers of Digitale Gesellschaft e.V. this app is pretty much unusable, no other encrypted DNS provider has proven to be as reliable. No idea what the problem is, but with all others I very often just get no internet connection (often WiFi says it can't connect and website can't be loaded due to DNS errors) so I had to move on.