Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adguard blocking internet connection until updating filters #4478

Closed
3 of 4 tasks
Konfetti030 opened this issue Feb 17, 2023 · 56 comments
Closed
3 of 4 tasks

Adguard blocking internet connection until updating filters #4478

Konfetti030 opened this issue Feb 17, 2023 · 56 comments

Comments

@Konfetti030
Copy link

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

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

AdGuard version

4 nightly 36 and above

Environment

- OS: A11 and A12
- Device: Xiaomi Mi 9 and OnePlus Nord 2
- Firmware: latest stable

Root access

  • Yes, I have it.

What filters do you have enabled?

AdGuard Mobile Ads filter, AdGuard German filter, AdGuard Tracking Protection filter, AdGuard Social Media filter, EasyList Germany

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce:

  1. Opening chrome but no website loading
  2. Open Adguard and clicking update button
  3. Adguard is checking for updates and updating
  4. Chrome and internet connection is working again.
  5. Involved Adguard function: DNS protection if setting is set to default system setting.
  6. After changing to Google DNS it might be fixed (not 100% sure)

Expected Behavior

Adguard is not blocking internet connection

Actual Behavior

No internet connection

Screenshots

Screenshot 1:

Additional Information

No response

@pbmcmlxxi
Copy link

I have noticed this also. Web broswers (Firefox/Brave) Monzo does not update etc. Once the adguard filter/programme updates then it is ok.

@Konfetti030
Copy link
Author

Yes. But i think that updating filters is just a workaround because issue is being caused by DNS protection default setting.
In the Adguard forum there are several threads of it (i think in combination with Xiaomi devices, but issue also appearing with OnePlus Nord 2).

@Batman2814
Copy link

I believe I'm having the same problem. Haven't been able to figure it out for weeks but I would get a message that says connected without internet. Even tried changing the DNS which didn't do anything to fix it.

@Konfetti030
Copy link
Author

Please upvote everybody because this is a big issue/bug because it's heavy interfering daily use of the app

@Batman2814
Copy link

So I changed the Private Adguard DNS in the Android version of Adgaurd to the regular Adguard DNS protocol set on quic and it hasn't disconnected with that message connected without Internet so far but if any else can check to see if the problem on the regular Adguard DNS doesn't have that problem then the issue might be with setting up Adgaurd Private DNS in the Android version of Adgaurd.

@Batman2814
Copy link

I still have no idea what is causing this problem with Adgaurd seems to happen with all DNS for 8 hours and 30 minutes it cuts off my internet connection what's the message saying connected without internet. This is getting exhausting trying to figure this out. This problem is interfering every second and I can't even use my device on my wifi network.

@Konfetti030
Copy link
Author

I still have no idea what is causing this problem with Adgaurd seems to happen with all DNS for 8 hours and 30 minutes it cuts off my internet connection what's the message saying connected without internet. This is getting exhausting trying to figure this out. This problem is interfering every second and I can't even use my device on my wifi network.

Try Google DNS. With that DNS I have the "best connection". But this can't be the solution nor an acceptable workaround.

@Konfetti030
Copy link
Author

As I found out, it's not even necessary that certain filters get updated or if they are latest. After update check is made, chrome is loading websites again.

Please developers fix that huge bug.

@Batman2814
Copy link

tried google DNS in Adguard still got that message connected without Internet.

@Konfetti030
Copy link
Author

Yeah me too. Useless

@Batman2814
Copy link

it's not just Adguard Private DNS it's happening on every DNS that is setup in the Adguard Android App even where I have Adguard Private DNS setup on my router it gives me that message connected without Internet. So I been forced to use eero secure on my eero router which uses Amazon's DNS Service.

@Konfetti030
Copy link
Author

That's an important information for the developers. Thank you for that

@Batman2814
Copy link

What router do you have?

@Konfetti030
Copy link
Author

I have an AVM Fritzbox router.
But I only use Adguard for Android.

@Konfetti030
Copy link
Author

Happy news, I received an answer today. I hope they will keep their word:

Thank you for letting us know.

One of our QA engineers has been assigned to test this issue, so you'll eventually receive an update on how long it will take to fix the issue.
But don't worry, this problem will be definitely fixed, we won't release our update with such a major bug.

Thank you for your patience.

Sincerely,
AdGuard Support Team

@Versty
Copy link
Member

Versty commented Feb 21, 2023

@Konfetti030 Hi!
Let's find out what is wrong with the app and why.
Have you performed a clean installation? Are you on the cellular or Wi-Fi?
If you disable DNS protection, is the issue gone?

@Konfetti030
Copy link
Author

Konfetti030 commented Feb 21, 2023

@Konfetti030 Hi! Let's find out what is wrong with the app and why. Have you performed a clean installation? Are you on the cellular or Wi-Fi? If you disable DNS protection, is the issue gone?

Yes I made also a clean install several times. I am on cellular and wifi with the same problem. If I don't use DNS there aren't any disconnections from internet.

Right now Google DNS over HTTPS is working the best. But this is also changing. Tried also other protocols.
With Adguard DNS it's the worst with the most disconnections and i have to make my workaround with manual update filters.
Important: If Adguard kills the connection and I disable WiFi the problem still exists also in cellular until manual update.

@Versty
Copy link
Member

Versty commented Feb 21, 2023

@Konfetti030 So the issue is clearly related to DNS.
If you disable DNS filters option, does the issue persist?

@Versty
Copy link
Member

Versty commented Feb 21, 2023

@Konfetti030 Could you provide a full settings set and logs from your device 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 [email protected], mention the issue number #4336 in the subject and time when the issue was reproduced.

@Konfetti030
Copy link
Author

Ok I just set it up to debug.
Last error was at 7:04pm but this was before I started this debug logging. But i will follow the instructions and send it after next bug.

@Konfetti030
Copy link
Author

it's not just Adguard Private DNS it's happening on every DNS that is setup in the Adguard Android App even where I have Adguard Private DNS setup on my router it gives me that message connected without Internet. So I been forced to use eero secure on my eero router which uses Amazon's DNS Service.

Do you still have the connection interruptions?
Stove a few days I don't have this bug anymore. Right now using Adguard DNS over HTTPS

@Batman2814
Copy link

@Konfetti030
Copy link
Author

https://www.androidcentral.com/phones/samsung-galaxy-s23-ultra-wi-fi-issues

I don't own a Samsung S23. Issue happens with Xiaomi Mi 9 and OnePlus Nord 2 with different routers in different environments!

@Versty
Copy link
Member

Versty commented Feb 28, 2023

@Konfetti030 @Batman2814
Does the issue still reproduce on the latest nightly?
We have released a couple of nightly versions with the new DNSLibs, so this issue might be fixed.

@Konfetti030
Copy link
Author

On my side it looks really like issue might be fixed. Since the maybe last 2 nightys no issue anymore.
I am using Adguard DNS over HTTPS right now. And you @Batman2814 ?

@Konfetti030
Copy link
Author

@Versty
Does it make sense to test especially other Adguard DNS? Would be awesome if issue is fixed but i am still a little bit conservative with it because issue existed for years.

Nevertheless many thanks so far to all devs.

@Versty
Copy link
Member

Versty commented Feb 28, 2023

@Konfetti030 We have completely renewed the source code, the old issues should be gone now.
So it definitely makes sense!

@Konfetti030
Copy link
Author

Sounds really really awesome and i can confirm that since 2 nightys no DNS issue anymore.

@Konfetti030
Copy link
Author

@Versty
I am on 4.0.722 right now. Is this okay?
Yesterday I mentioned that in one app the ads were not blocked as like before btw.

@Versty
Copy link
Member

Versty commented Apr 4, 2023

@Konfetti030 Yes, perfect version. What are your current settings for Auto-update filters?

@Konfetti030
Copy link
Author

@Versty
Adguard Basic
Adguard Mobile ads
Adguard tracking
Adguard social media filter
Adguard harassment filter
Online malicious url Blocklist
Nocoin filter list
Adguard German filter
Easylist Deutsch
Serbo Croatian list from dandelion

And DNS over HTTPS right now

@Konfetti030
Copy link
Author

Konfetti030 commented Apr 5, 2023

@Versty
Since the new update is available, I had to do the workaround a few times.

Ads don't get blocked also. Not in apps nor in websites.

@Versty
Copy link
Member

Versty commented Apr 6, 2023

@Konfetti030 Got it. We would like to take a look into your logs one more time. Could you wait for the issue to reproduce (use debug logging mode), then collect the logs and send it to [email protected]?
Please mention the number #4478 in the subject line and the time when the issue occurred.

@Konfetti030
Copy link
Author

Konfetti030 commented Apr 6, 2023

@Versty
Hi, just sent a few mins ago debug log to devteam.

Hope you can find and fix it.

I set log back to standard. May i also update app again or better wait until I get a feedback?

Edit: I just updated to the latest version because ads were not blocked at all since some days. And after update all ads get blocked again. That is weird because I updated filters every day.

@Versty
Copy link
Member

Versty commented Apr 10, 2023

@Konfetti030 Thanks, your logs have been received. We are investigating further.

@Konfetti030
Copy link
Author

@Versty
Since around a week this bug came back again. Very often no connection until manual filter update or turn off WiFi ins turn on again.
Very bad at the moment :(

@Konfetti030
Copy link
Author

@Versty
Since I have roaming internet connection I have disconnection errors most of the time but only on WiFi network. This WiFi network is over a LTE/4G router.
The last times in roaming I had this issue also very more often than before.
Do you need debug log?

@Versty
Copy link
Member

Versty commented May 28, 2023

@Konfetti030 Yes, the debug logs would help a lot.
Please mention the reproduction time in the description and this issue number 4478 in the subject.

@Konfetti030
Copy link
Author

@Versty sent you debug log a few days ago

@Konfetti030
Copy link
Author

Problem still exist. I am opening chrome clicking on website. Website stays blank for mins. I go to adguard and manually update filter. Switching back to chrome website is loading immediately

@Konfetti030
Copy link
Author

@Versty
Never got any reply to my last log I sent in.
Bug still annoying me.
Same problem on Xiaomi Mi 9, Mi 11 Pro and OnePlus Nord 2

@Versty
Copy link
Member

Versty commented Jul 6, 2023

@Konfetti030 The fix will be included in one of the next DNSlibs updates, watch this issue AdguardTeam/DnsLibs#200

@Konfetti030
Copy link
Author

@Versty
One more information which maybe help to understand the bug:
EVERY time when a new nightly is available the internet connection is not working too. Then I search for filter updates and are downloading also the update. The download sometimes does not start immediately and I have to turn off WiFi for example. Then download starts

@Versty
Copy link
Member

Versty commented Oct 4, 2023

@Konfetti030
This issue should be fixed in the AdGuard for Android 4.2 beta. Could you confirm that the issue is gone?

@Konfetti030
Copy link
Author

@Versty Oh yes Diana it looks like finally this bug is solved.
I don't know if it's because I am following the message by deactivating miui battery optimization (miui is switching toggle always back but with hidden Xiaomi settings app you can prevent it not to switch back) or because there is no nightly update anymore since weeks (??).
Thank you very much again to all Devs. I think it was one of the longest lasting issues ain't it :)

@Versty
Copy link
Member

Versty commented Oct 9, 2023

@Konfetti030 Happy to hear it is solved for you!

The latest available is 4.3 nightly 6. Please check for the updates manually, could be some sort of bug, which is already fixed by the way.

@Konfetti030
Copy link
Author

@Versty
Hey, I am facing this error again and also the whole app is freezing often since one of the last 3-4 updates.
I think the only version which seem to solved this bug for the first and only time was 4.2 Nightly 42, Release date: September 18, 2023.

Please check it again and try to find out what changed again since next nightly from October 3. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants