AdguardTeam / AdGuardVPNForAndroid

AdGuard VPN Android app open bug tracker
https://adguard-vpn.com/
140 stars 12 forks source link

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

Open Batman2814 opened 1 year ago

Batman2814 commented 1 year ago

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

AdGuard VPN version

Version 2.3.1

Operating mode

Integration with AdGuard

Environment

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

Issue Details

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 commented 1 year ago

Logs have been sent.

Versty commented 1 year ago

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

Batman2814 commented 1 year ago

Yes, it does.

Versty commented 1 year ago

@Batman2814 Could you clarify the reproduction steps?

Prerequisites

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

Batman2814 commented 1 year ago

Yes, correct.

Batman2814 commented 1 year ago

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 commented 1 year ago

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.

Versty commented 10 months ago

@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.

TPS commented 9 months ago

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

Versty commented 9 months ago

@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

TPS commented 9 months ago

@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.

Batman2814 commented 9 months ago

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.

TPS commented 9 months ago

@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 commented 8 months ago

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 commented 8 months ago

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

TPS commented 8 months ago

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

Versty commented 8 months ago

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

TPS commented 8 months ago

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 commented 8 months ago

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