AdguardTeam / AdguardForAndroid

Open bug tracker for Android version of AdGuard.
https://adguard.com/
1.32k stars 90 forks source link

When open an link, i get an ERR_NETWORK_CHANGED error #4336

Open bastele7 opened 1 year ago

bastele7 commented 1 year ago

When open an link from an other app, i often get an ERR_NETWORK_CHANGED error, then the website is loading. The problem occurs only on mobile networks. The problem occurs on all tested Chromium based browsers (Brave, Chromium, Chrome, Vivaldi, Edge, Kiwi). Just for your Information: The VPN-Icon in the videos is hidden by GoodLock and there is an active VPN connection.

AdGuard version: 3.6.10 Filtering mode: Local VPN (HTTPS Filtering is enabled) Device: Samsung Galaxy S22+ Operating system and version: Android 13 Root access: No

Steps to reproduce the problem: The problem can be reproduced as follows:

https://user-images.githubusercontent.com/74867100/212962353-a9eb0de1-4762-47d3-998c-14e37d3fbc12.mp4

https://user-images.githubusercontent.com/74867100/212962358-e83bbd52-b7f6-4038-bbb4-08d765406d7c.mp4

bastele7 commented 1 year ago

You can also reproduce the issue by setting a startpage, close the browser and open it.

https://user-images.githubusercontent.com/74867100/213537745-21dc19fb-a8c5-4240-8e08-3e5502934960.mp4

bastele7 commented 1 year ago

I was able to reproduce the issue with Edge (109.0.1518.53) and Chrome (109.0.5414.85) on the Google Pixel 7 Pro (Android 13).

Versty commented 1 year ago

@bastele7 Hi! Sorry for the long wait for a reply. Could you try to add the Bootstrap server 1.1.1.1? This setting is located in the Advanced -> Low level -> pref.dns.bootstrap.

bastele7 commented 1 year ago

@Versty Thanks for the help. I tried the way you described but the problem persists.

https://user-images.githubusercontent.com/74867100/218817855-eb912dbc-0362-4a74-9352-d07bb3d85a04.mp4

Versty commented 1 year ago

@bastele7 Tried to reproduce, but with no luck. Is the DNS protection enabled on your device?

bastele7 commented 1 year ago

I can reproduce the problem with DNS protection enabled or disabled in AdGuard and in the device settings I have not enabled any DNS server.

Have you tried to reproduce the problem on the mobile network? In wifi the error does not appear.

I can reproduce the problem on the S22+, S23 Ultra and on the Pixel 7 Pro.

gzleangle commented 1 year ago

I have Socks 5 proxy enabled in Adguard V4.0.594.

When I try to access google.com and youtube.com, Chrome browser will definitely report ERR_NETWORK_CHANGED error.

Accessing other sites is fine.

Trying to use other browsers also can not open these 2 sites.

Returned to V4.0.82 and used the same configuration, no such problem.

Versty commented 1 year ago

@bastele7 @gzleangle Could you to provide full setting sets and logs from your devices to help us investigate?

Please follow the steps below to properly collect debug logs and settings:

  1. Open AdGuard and go to Settings tab -> General.
  2. Choose "Advanced".
  3. Set Logging level to "Debug". It's desirable to close all background apps that don't concern the problem beforehand.
  4. Reproduce the issue, then return to "Advanced" and set the logging level back to "Default". Notice the exact time when it happened.
  5. Use the "Export logs and system info" option to save the log file to the phone storage
  6. Go back to the Settings tab
  7. Click the context menu in the top right corner -> Export
  8. Attach both files to the email and send it to devteam@adguard.com, mention the issue number #4336 in the subject and time when the issue was reproduced.
gzleangle commented 1 year ago

8. Attach both files to the email and send it to devteam@adguard.com, mention the issue number #4336 in the subject and time when the issue was reproduced.

The collected data has been sent to devteam@adguard.com.

bastele7 commented 1 year ago

I've send you a debug-file from AdGuard. However, I have only one file, because I do not know what they mean by "Click the context menu in the top right corner -> Export".

Versty commented 1 year ago

@bastele7 @gzleangle Thanks, your logs have been received.

Versty commented 1 year ago

@gzleangle Would like to inform you that your case is also discussed in #4500.

Versty commented 1 year ago

@bastele7 Were you using any type of proxy, when the issue occurred?

bastele7 commented 1 year ago

@Versty No, i don't use an Proxy

Versty commented 1 year ago

@bastele7 This issue may be related to the IPv6 filtering. Would you check if the issue persists when the pref.vpn.ipv6.disable switch is enabled in the low-level settings?

gzleangle commented 1 year ago

@gzleangle Would like to inform you that your case is also discussed in #4500.

I have no problem using the google app on my phone. When using a proxy, you can refer to #3280 to solve the network problem of google application. Like I said, the problem only occurs when using a browser to access google.com. And go back to version 4.0.82 and use the same configuration, no such problem.

bastele7 commented 1 year ago

@Versty Unfortunately, I could not solve the problem the way you've described.

gzleangle commented 1 year ago

I have Socks 5 proxy enabled in Adguard V4.0.594.

When I try to access google.com and youtube.com, Chrome browser will definitely report ERR_NETWORK_CHANGED error.

Accessing other sites is fine.

Trying to use other browsers also can not open these 2 sites.

Returned to V4.0.82 and used the same configuration, no such problem.

  • OS: Android 13
  • Device: Samsung S22

This problem occurs when using mobile network. It is normal when using WIFI.

gzleangle commented 1 year ago

Screenshot_20230315_070850_AdGuard

When I turn off the ad filtering for chrome, I can access google.com normally. I'm using the default filters. No custom filters were added.

gzleangle commented 1 year ago

Screenshot_20230315_072408_AdGuard

After enabling the ad filtering for chrome, the displayed filtering log is as shown in the figure.

Versty commented 1 year ago

@gzleangle If you try to access google or youtube without a proxy, do both pages load properly? We would like you to check if the issue persist if you enable Filter app content for Chrome and disable the Tracking protection module in the "Protection" tab?

Versty commented 1 year ago

@gzleangle @bastele7 Could you update to the latest nightly and check if the issue persists?

gzleangle commented 1 year ago

Tested v4.0.726 and still have the same problem. I have to continue using v4.0.82.

Versty commented 1 year ago

@gzleangle Thank you, we will continue to work on the fix.

bastele7 commented 1 year ago

Hello, my problem also persists

Versty commented 1 year ago

@bastele7 @gzleangle Could you please enable protection but disable every protection module (icons in the Home tab), does the issue persist then?

gzleangle commented 1 year ago

Could you please enable protection but disable every protection module (icons in the Home tab), does the issue persist then?

Tested on version v4.0.752, the problem still exists.

When I turn off the ad filtering for chrome, I can access google.com normally. I'm using the default filters. No custom filters were added.

As mentioned earlier, only by turning off the ad filtering for chrome can normal access the google website, and other operations are invalid.

gzleangle commented 1 year ago

The issue also persists using an unregistered version with limited functionality.

gzleangle commented 1 year ago

I think the problem I'm having is related to issue #4620.

Versty commented 1 year ago

@gzleangle Yes, the issue on your device is the same as #4620.

Versty commented 1 year ago

@bastele7 The issue on your device may be the same as well. We would like you to install the AdGuard For Android 4.0 beta 1, collect the debug logs and send it to devteam@adguard.com. It is important to set the logging level to debug.

You can download the beta from this direct link.

  1. Open AdGuard and go to Settings tab -> General.
  2. Tap the Advanced option.
  3. Set the Logging level to Debug. It's desirable to close all background apps that don't concern the problem beforehand.
  4. Reproduce the issue. Notice the exact time when it happened.
  5. Use the Export logs and system info option to save the log file to the phone storage
  6. Attach this file to the email and send it to devteam@adguard.com, mention the issue number #4336 in the subject and the time when the issue was reproduced.
bastele7 commented 1 year ago

@Versty of course, but I'm not sure whats the correct option for "debug"...

Screenshot_20230522_185040_AdGuard

Versty commented 1 year ago

@bastele7 Could you check if this issue persists on the latest beta version? You can download it from this direct link.

bastele7 commented 1 year ago

Thanks. With the latest beta the issue also occurs. I send the log to the Dev-Team.

Versty commented 1 year ago

@bastele7 Thank you, your log is received.

bastele7 commented 9 months ago

Hello @Versty, is there any news about this? Some time has passed in the meantime, but the problem has not yet been resolved. I'll send you a few more netlogs that I was able to create.