AdguardForAndroid icon indicating copy to clipboard operation
AdguardForAndroid copied to clipboard

Stuck on "Enabling protection..."

Open Rex000 opened this issue 3 weeks ago • 7 comments

Please answer the following questions for yourself before submitting an issue

  • [x] Filters were updated before reproducing an issue
  • [x] I checked the knowledge base and found no answer
  • [x] I checked to make sure that this issue has not already been filed

AdGuard version

4.14.18

Environment

  • OS version: Android 12
  • Device: Nokia 3.4

HTTPS filtering

  • [ ] yes, I do

Root access

  • [ ] yes, I have it

Integration with AdGuard VPN

  • [ ] yes, I do

Routing mode

Local VPN

Ad Blocking

No response

Privacy

No response

Social

No response

Annoyances

No response

Security

No response

Language-specific

No response

Other

No response

Which DNS server do you use?

Automatic DNS

DNS protocol

None

Custom DNS

No response

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce:

  1. Enable any VPN OR manually disable Adguard from the top
  2. Disconnect VPN OR manually enable Adguard from the top

Expected Behavior

Should not get stuck on the "Enabling protection" message.

Actual Behavior

Gets stuck on the "Enabling protection" message.

Screenshots

Screenshot 1

Additional Information

No response

Rex000 avatar Dec 03 '25 00:12 Rex000

Hello @Rex000 I couldn't reproduce the issue on my side on this nightly version (4.14.18). Does the issue persist on the stable version 4.12.1 or the most recent Version 4.14 Nightly 16?

Swen90 avatar Dec 05 '25 09:12 Swen90

No, it didn't happen in the stable version. It hasn't happened yet on the latest nightly, 4.14.24. I'll continue to test though.

Rex000 avatar Dec 07 '25 21:12 Rex000

This literally just happened to me on stable 4.12.1. Well it was actually "restarting protection" but yeah...

What happned to me was:

  • no internet all of a sudden, but no problem with wifi
  • adguard seems to have stopped working but no error shows. VPN symbol still shows on top of phone screen.
  • try to change DNS server to force a restart of Adguard
  • stuck at "restarting protection".
  • had to force stop the app and restart
  • then it started up fine and internet returned

I've seen this happen a few times but very rarely and completely random so I can't reproduce it easily.

muchqs avatar Dec 11 '25 01:12 muchqs

@muchqs It would be great if you could do the following steps:

  1. Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug.
  2. Reproduce the problem, then remember the exact time when it happened.
  3. Collect logs: Settings -> General -> Advanced -> Export logs and system info.
  4. Send this file to [email protected]:
    • include [android] keyword and #5938 as an issue number in the subject of your email
    • specify the exact time when the issue occurred

Swen90 avatar Dec 11 '25 10:12 Swen90

This is long-run issue even versions 3.x.x.

If you want reconnect toggle work when no internet connection , you have disable wifi or data at first then reconnect normally the toggle, then enable wifi/data again.

How to reproduce?

just play in router / modem configuration not to assign ip for example.

in nutshell protection toggle on/off not working properly when no connection, and should wifi/data should be ON

smexyy avatar Dec 11 '25 22:12 smexyy

@muchqs It would be great if you could do the following steps:

  1. Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug.

  2. Reproduce the problem, then remember the exact time when it happened.

  3. Collect logs: Settings -> General -> Advanced -> Export logs and system info.

  4. Send this file to [email protected]:

    • include [android] keyword and #5938 as an issue number in the subject of your email
    • specify the exact time when the issue occurred

That's gonna be hard since I can't really reproduce it. It just happened randomly out of the blue. I've seen this behavior a few times over the years but it's pretty random for me and doesn't happen that often.

muchqs avatar Dec 12 '25 10:12 muchqs

The same thing has happened to me, I found that, while unpredictable, happens more often when I have disabled AdGuard to use a VPN (adguard vpn sometimes is blocked/doesn't work for me at work) and turn off the vpn and adguard back on. I have found that force stopping AdGuard and reopening it often works, and when it doesn't, restarting my phone does.

Divyae52 avatar Dec 14 '25 16:12 Divyae52

@smexyy Not exactly, the AdGuard creates local VPN tunnel regardless of whether you were connected to the internet or not. Thus the Protection toggle on the Home screen can be switched ON/OFF even without the internet connection. But maybe you are right about long-run issue.

@Divyae52 Nevertheless if this issue will occur again it would be great to have your debug logs to investigate this case further. The main problem here is that you have to use the app with enabled debug mode all the time because I can not reproduce this bug on my side.

Swen90 avatar Dec 18 '25 14:12 Swen90