AdGuardVPNForAndroid icon indicating copy to clipboard operation
AdGuardVPNForAndroid copied to clipboard

Integrated mode: AdGuard VPN disconnects after updating AdGuard for Android application

Open Batman2814 opened this issue 1 year ago • 19 comments

Please answer the following questions for yourself before submitting an issue.

  • [X] I am running the latest version
  • [X] I checked the documentation and found no answer
  • [X] I checked to make sure that this issue has not already been filed

AdGuard VPN version

Version 2.3.1

Operating mode

Integration with AdGuard

Environment

- OS: Galaxy phone & Samsung Tablet
- Device:Samsung 
- Firmware:

Issue Details

  • Integrated mode is active

  • AdGuard VPN configuration is not set in the system settings.

  • AdGuard is configured as Always on in the system settings (Connections -> More connection settings -> VPN -> AdGuard)

  • Upgrade to a new version is available in AdGuard for Android application

  • Protection is enabled in AdGuard application

  • AdGuard VPN is connected to location

Steps to reproduce:

  1. Open AdGuard
  2. Go to Home tab -> tap the Update button -> Update application
  3. Wait for AdGuard to be updated

Expected Behavior

Protection is re-enabled in AdGuard, AdGuard VPN is reconnected to location.

Actual behaviour

Protection is re-enabled in AdGuard, but AdGuard VPN is in disconnected state. Or in the connecting... and then disconnected state.

Screenshots

Screenshot 1:

Batman2814 avatar Jul 07 '23 18:07 Batman2814

Logs have been sent.

Batman2814 avatar Jul 07 '23 19:07 Batman2814

@Batman2814 Hi! Does the issue reproduce every time you update the AdGuard app?

Versty avatar Aug 16 '23 15:08 Versty

Yes, it does.

Batman2814 avatar Aug 16 '23 16:08 Batman2814

@Batman2814 Could you clarify the reproduction steps?

Prerequisites

  • AdGuard VPN is connected to location
  • Protection is enabled in AdGuard for Android application
  • Both apps are running in the integrated mode
  • New update is available for AdGuard for Android

Steps

  1. Open the AdGuard for Android application
  2. Click the update button on the Home tab -> Install update
  3. Wait for the update to be installed
  4. Launch AdGuard for Android
  5. Open AdGuard VPN

Result: Protection is enabled in the AdGuard for Android application, AdGuard VPN is in the connecting... state

Versty avatar Aug 16 '23 16:08 Versty

Yes, correct.

Batman2814 avatar Aug 16 '23 16:08 Batman2814

So the issue is still there, but with AdGuard VPN for Android being updated 2 times since I created this report, it has improved about 50% by what I mean is when updating AdGuard Adblocker Nightly when AdGuard VPN for Android is connected after that AdGuard Adblocker Nighlty is done updating I open up AdGuard VPN for Android where it doesn't say connected but says connecting I even wait a bit to see if it will eventually go to connected but it doesn't but If I connected to a different server it brings it back to connected while it says connecting. Before when clicking on a different server while it says connecting the previous version wasn't doing that. So I would definitely say that progress is being made but still needs to be addressed in future a date.

Batman2814 avatar Sep 16 '23 22:09 Batman2814

image

I get this when Updating AdGuard for Android Adblocker when opening AdGuard VPN for Android. It should go back to connected when AdGuard For Android Adblocker is done updating.

Batman2814 avatar Oct 10 '23 20:10 Batman2814

@Batman2814 Hi! We have tried to reproduce this problem multiple times, but unfortunately to no avail. We have also examined the logs from your device, and it says that AdGuard VPN is connected eventually.

Have you tried reproducing this issue on a different network?

Please also clarify if this issue is relevant for the AdGuard VPN 2.6 version.

Versty avatar Dec 11 '23 06:12 Versty

I've been having this also, & is 1 of my motivations for #252.

TPS avatar Dec 31 '23 12:12 TPS

@TPS @Batman2814 Please test with AdGuard 4.3.1 and AdGuard VPN 2.7 release versions. Do you have the VPN configuration for AdGuard VPN in the system settings? Settings -> Network & Internet -> VPN

Versty avatar Jan 16 '24 16:01 Versty

@Versty

Please test with AdGuard 4.3.1 and AdGuard VPN 2.7 release versions.

I need to wait for next AG update to test, right?

Do you have the VPN configuration for AdGuard VPN in the system settings? Settings -> Network & Internet -> VPN

It's not there.

TPS avatar Jan 16 '24 18:01 TPS

I need to wait for the next update to AdGuard Adblocker for Android. Screenshot_20240116_140057_Settings.jpg

I have Adgaurd Adblocker configuration added. Not Adgaurd VPN configuration. But it is set correctly.

When the next update to AdGuard Adblocker is out, should I turn on debug logs on when updating to the new version to get the logs to you guys.

Batman2814 avatar Jan 16 '24 20:01 Batman2814

@Versty I've now had several updates in the last few days to AG v4.4n8 w/ AGVPN v2.7. They still exhibit the same problem.

TPS avatar Jan 18 '24 19:01 TPS

Since AGVPN v2.8n1, it seems to regularly (but not always) stay disconnected after AG successfully updates its filterlists w/ an error something like "Can't connect to selected server." It won't reconnect manually for quite some time, & when it does, it'll often attempt to connect to a random (least ping?) server, not the 1 connected before (#425?).

TPS avatar Jan 21 '24 13:01 TPS

I didn't have this issue for the 1st time when updating to AG v4.4n12. Can you confirm, @Batman2814?

TPS avatar Jan 30 '24 19:01 TPS

But it reappeared w/ AG v4.4v15. Maybe previous success was just a fluke?…

TPS avatar Jan 30 '24 19:01 TPS

@TPS @Batman2814 Thanks to your explanations, we have found a way to reproduce this issue. Will be improved in future version.

Versty avatar Feb 02 '24 10:02 Versty

Has there been any update to this?

~~Ever since updating to AGa v4.4n24 through n26, Integrated mode is completely broken w/ AGVPNa v2.8n1. The only way I can connect to any site via any app is to disable Integrated mode entirely. I also can't send any logs in that version of AGa (always fails, no matter what I try) & I don't know whether attempting logs in AGVPNa would be useful.~~

The problem w/ blocked connection is finally fixed in AGa v4.4n28. Now gotta wait for next update to check whether main issue is fixed.

TPS avatar Feb 13 '24 12:02 TPS

This is still broken as of every update since AGVPNa v2.8n1 & AGa v4.4n29.

TPS avatar Feb 16 '24 13:02 TPS