Anytime I switch between wifi and cell service, my data stops working (when blokada is on) until I deactivate blokada (it also works if I then just re-enable quickly). But this makes it unusable at this point!
Please let me know where I can send my logs to help fix the problem. Thanks!
Weâve had our phones stuck on version 4 after Iâd submitted 2 sets of logs. Iâm guessing itâs hard to fix as it seemed something that was being investigated early on.
Could a developer please let us know if youâre unable to diagnose or reproduce the problem? I can also get more logs if helpful.
Thank you in advance.
(As an aside I recently tried blokada on a iPad only to find it doesnât even work with local DNS and I canât use version 4 there)
You mentioned the problem is happening in version 5.11.1. I first saw it on 5.10.1 and didnât have any problems before that version, after the ânetwork DNSâ feature was added.
Given that local DNS is the main reason people arenât using version 5, I imagine thereâs been some change in this area. Is anyone familiar with the code able to look at diffs between 5.10.1 and before please?
For me exactly the same problem. I have a Pixel 3a (one with google, latest software (android 11) and one wihtout google, CalyxOS, also latest version). Because of this problem i removed version 5 months ago, in version 4 the problem exists only when using blokada+ with the VPN. This renders the VPN unusable, because itâs very annoying when you look at the phone and you think âumm ⌠so calm for hoursâ and then deactivate blokada and hundres of messages arrive âŚ
Unluckily all of this is hardly reproducible to us. You may want to give the newest v5 beta a try but I cannot guarantee you anything as of right now
If it still doesnât work, please commence providing us with logs. Maybe we can narrow all that down in the future
Hello@blokada.org is always open for issue descriptions including logs
Weâll have a look at all of them. It might take some time, you may not hear back from us due to the massive amount of information we receive but we surely try to figure things out. Weâll tell you as soon as we find something you could do to help us further
@PrintableCharacter thanks, but please remember at least two of us had sent logs and you hadnât responded to say you needed more.
In fact you had suggested we go back to version 4. So we were waiting to see a release note stating this bug was fixed.
@PrintableCharacter Iâve just installed version 5 (after going down a research rabbit-hole when reading the warning for version 5 on F-Droid. Transparency is good, so is critical feedback if it helps improve the product overall!) and the problem still happens. Nothing has changed. I sent a log.
When trying to reproduce the problem I suggest you block all access to external DNS (including for DoH for your chosen DNS provider - mine was CloudFlare) with your router. This means you will quickly know when ânetwork DNSâ isnât working.
After doing this and setting up Blokada 5 to prefer network DNS with DNS encryption off you should disable wifi on you smartphone. Load a new website, then re-enable wifi and test again.
@Karol thank you for responding to my log submission. Iâm now having more trouble reproducing the problem. I will try again at work where WiFi coverage and 4G coverage are both poor in places and my phone switches back and forth between them.
Iâll leave Blokada 5 on until it happens regularly again, then immediately send a fresh log.
I thought my last log was after it had happened so Iâm sorry if there was too much ânoiseâ in the log.
@Karol Thank you again for responding to my log submission.
Iâm happy to say that Blokada 5 seems is better than it was, although I do still have a DNS problem after switching between WiFi and mobile networks every few days.
In a perfect world I would have;
All WiFi networks not encrypt DNS
All WiFi networks âuse DNS: Cloudflare (default)â
All WiFi networks âprefer network DNSâ
while the mobile network (or the âAll networksâ default) would stay as:
Encrypt DNS (default)
Use DNS: Cloudflare (default)
I suspect that the problem I see happens more often when Blokada is switching between a WiFi network without DNS encryption to a Mobile network with DNS encryption.
So as a compromise I have disabled DNS encryption for âAll networksâ and DNS is blocked rarely now.
Thank you for the tip about clicking on the blue number of Blocked ads and trackers on the front page of the Blokada 5 app. It has shown me that even with the compromised setings above (encrypted DNS disabled everywhere, âprefer network DNSâ on WiFI) I sometimes am on a Mobile Network with âUse network DNSâ still active.
So I believe there is still a problem here, but it happens less often if Encrypted DNS isnât being switched on and off. I will try to capture a log straight after I see the problem happen and I have confirmed that I am on a Mobile Network with âNetwork DNSâ in use.
Immediately after posting that, I switched off WiFi and was on a Mobile Network with âNetwork DNSâ active still.
I disabled Blokada and re-enabled it, then it correctly switched to âCloudflareâ.
Is this a related issue to the problem I have reported with DNS being blocked totally when switching between WiFi and Mobile networks?
See the attached screen shot and note the 4G symbol is active in the top right, not the WiFi fan symbol.
As I had manually stopped and started Blokada it correctly switched over to using Cloudflare DNS while on a Mobile network.
Now when I switch back to WiFi itâs still on Cloudflare DNS, which is blocked on my LAN as only ânetwork DNSâ should be used. So DNS is no longer working and I have repeated the original problem.
When âNetwork DNSâ is set up for one class of network with a public DNS provider set up for the other, Blokada 5 (from F-Droid) incorrectly does not change DNS server reliably.
This can result in âNetwork DNSâ being used where a public DNS provider is should be configured. (The opposite can happen too)
When the problem occurs Blokada must be deactivated and re-activated.
In my situation, Blokada 5 has only appeared more reliable because it was stuck on âNetwork DNSâ even when I roamed on to a Mobile Network. The problem is exactly as I reported at the beginning and it seems likely that nothing has changed.
Iâve sent in another log and should be able to reproduce this regularly now.
Just want to say this appears to be happening to me as well, Galaxy Note 9⌠Iâm on an island with sketchy cellular service and the house Iâm in has crap wifi, my phone is jumping from crappy wifi to crappy cellular as I move around the house, after a few flip flops, DNS fails⌠Finally narrowed it down to Blokada after forgetting to re-enable it after rebooting, all the sudden the issue disappeared⌠I guess Iâll have to suffer through the rest of my vacation without Blokada
Very good! Thanks a lot and, please keep us informed whether there is going to be a solution.
Meanwhile, I have switched all family phones (all with the same problems) back to blokada version 4:
pixel 3a, pixel 4a, samsung note 9, samsung note 10
Blokada Version 4 just runs rock stable without any trouble!
I would only change back to version 5, when itâs finally matured and not causing these frequent internet connection interuptions and requirement of manual restartsâŚ