Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blokada doesn't detect the current Netowrk properly #911

Open
PeterDaveHello opened this issue Jan 23, 2022 · 10 comments
Open

Blokada doesn't detect the current Netowrk properly #911

PeterDaveHello opened this issue Jan 23, 2022 · 10 comments

Comments

@PeterDaveHello
Copy link
Contributor

PeterDaveHello commented Jan 23, 2022

Tested on Android 11/12 with Blokada v5.18.0(via F-Droid) (but I believe this problem exists for a while, not just v5.18.0).

Though there's a feature to let the users decide what config to apply to each network, however, Blokada frequently can't detect the network properly. Even though all the permission, including precise location was given.

For example, I'm now connected to a Wi-Fi network called: workstation, but Blokada only knows that I connected to Wi-Fi, doesn't know that the Wi-Fi SSID is workstation, even though I connected to another Wi-Fi called: Peter_AP, the result is the same. Just like the screenshot below:

Permission Screenshot Connected WiFi Screenshot Blokada Networks Screenshot
Permission Screenshot Connected WiFi Screenshot Blokada Networks Screenshot

Blokada sometimes can detect my Wi-Fi SSID, properly. However, Blokada didn't choose the correct network to apply to the config frequently, the activated network easily goes to the "Any WiFi network", instead of the recognizable and connected W-Fi SSID.

Thankfully, killing(force stop) and restarting Blokada will help to detect the correct network, but it's no guarantee and not convenient, so this feature is kind of not working idealy I think.

The same problem is reported here:

I didn't go through the whole issue list, but obviously, I'm not the only one who got this issue.

Please let me know how can we help, thanks ;)

@ikurek
Copy link

ikurek commented Feb 5, 2022

The same thing happens to me, on stock Android 12 (Pixel 5). At random my home WiFi is detected as "All Networks" instead of my SSID, which is really annoying because I want to use network DNS at home (PiHole setup). Resting blokada app usually makes it detect the network correctly, but after some time it still switches to "All Networks".

I'll try to investigate the logs if I have a moment, maybe that will give us more insight into the issue

@bluezed
Copy link

bluezed commented Mar 8, 2022

Same here with Android 11 and Blokada 5.20.2

My home network is frequently not recognised and so the "prefer network DNS" setting is not used and it falls back to the All Networks setting instead.

Clearing Cache fixes it for a little while but not for long. After a few hours it's randomly back to All Networks.

@weedy
Copy link

weedy commented Mar 22, 2022

Ping.

Breaks youtube in annoying ways for me until I airplane mode a couple times.

@Dymstro
Copy link

Dymstro commented May 26, 2022

I'm also having this issue on my Pixel 6 Pro running Android 12 and Blokada 5.21.0. I use an internal DNS server to access services like Home Assistant, which won't work until I force close and reopen the app

@JAAdrian
Copy link

Same here on Android 10 and Blokada 22.3.8. Nevertheless, this has been the "usual" behavior for the last 2 years.

For a short period, disabling network (e.g. WIFI) and re-enabling it will fix it and the correct network is detected. After some time, I can see the WIFI icon on top of the screen glitching and Blokada is back in "All Networks"-mode.

Let me know, if I can help and provide logs.

@kar
Copy link
Contributor

kar commented Oct 31, 2022

Could anyone try if the newest release works better in this aspect? I made some relevant changes. https://github.com/blokadaorg/blokada/releases/download/android-v22.4.7/app-five-release.apk

@TomasRiker
Copy link

Could anyone try if the newest release works better in this aspect? I made some relevant changes. https://github.com/blokadaorg/blokada/releases/download/android-v22.4.7/app-five-release.apk

With the new release I'm still facing the same problems.

@JAAdrian
Copy link

JAAdrian commented Nov 1, 2022

Hi all,

same here for me (Android 10). Can I contribute logs or something like that?

@JAAdrian
Copy link

JAAdrian commented Nov 2, 2022

Actually, what would fix the need for network settings for me alltogether would be a default setting to always use the network's DNS and be in libre mode, as I usually only use the (ad-)blocking feature.

Is that somehow possible?

@Lotus815
Copy link

Lotus815 commented Dec 6, 2022

Related: #933 #952 #959

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants