blokadaorg / blokada

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

Android: VPN connection is occasionally lost (Blokada libre) #905

Closed WebworkrNet closed 1 year ago

WebworkrNet commented 2 years ago
  1. What exactly is not working? Android occasionally reports that the VPN connection has been lost and offers to open Blokada. If one then opens Blokada, however, it is displayed that Blokada is active (again?).
  2. How to reproduce your problem (steps you have taken that caused the problem) Blokada is activated and runs in the background.
  3. Which app version and which platform are you using? Samsung Galaxy XCover 4s (SM-G398FN) Android 11 Blokada 5.18.0 (via F-Droid) Libre
  4. DNS server issues are a common cause for some problems, have you tried selecting another DNS? No
  5. Have you tried disabling DNS over HTTPS, or toggle other settings in Blokada? No
WebworkrNet commented 2 years ago

There may be a connection between tickets #904 and 905.

WebworkrNet commented 2 years ago

Screenshot_20211110-153824_One UI Home Screenshot_20211110-153944

TomasRiker commented 2 years ago

Same issue here on Android 12 (Google Pixel 4a (5G)).

Important additional information: After restarting Blokada, it doesn't notice which network is the current one. Meaning only "All networks" is green, but not "All Wi-Fi networks" or "All mobile networks", and any settings configured there are ignored. In my case, it would then ignore the "Prefer network DNS" setting, and I would not be able to reach anything in my local network. The issue is fixed after disabling and enabling Wi-Fi.

angrox commented 2 years ago

I face the same issue as @TomasRiker: Blokada does not find the correct network to apply different DNS services after the mobile goes into sleep. (Android 12, also Pixel 4a 5g) It would be nice if we could disable the dns routing completly.

TomasRiker commented 2 years ago

I went back to Blokada 4, which allows disabling the DNS stuff altogether. Working much better than Blokada 5.

kar commented 1 year ago

There is another issue open for the network detection case, thanks!