AdguardTeam / AdguardForAndroid

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

Adguard blocking internet connection until updating filters #4478

Closed Konfetti030 closed 1 year ago

Konfetti030 commented 1 year ago

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

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

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

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

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

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

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

Batman2814 commented 1 year ago

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

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

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

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

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

Konfetti030 commented 1 year ago

Yeah me too. Useless

Batman2814 commented 1 year ago

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

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

Batman2814 commented 1 year ago

What router do you have?

Konfetti030 commented 1 year ago

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

Konfetti030 commented 1 year ago

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

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

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

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

Versty commented 1 year ago

@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 devteam@adguard.com, mention the issue number #4336 in the subject and time when the issue was reproduced.
Konfetti030 commented 1 year ago

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

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

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

Konfetti030 commented 1 year ago

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

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

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

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

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

Konfetti030 commented 1 year ago

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

Konfetti030 commented 1 year ago

@Versty I am facing this issue again. I am starting chrome and opening website but loading process stands still and website is blank. Then I opened Adguard and wanted to change logging in debug modus so that I can send it to you but after switching to debug logging website was loading like with workaround by updating filters.

I don't know... :(

Versty commented 1 year ago

@Konfetti030 Weird thing. Please keep monitoring this issue with debug logs turned on, if possible.

Konfetti030 commented 1 year ago

@Konfetti030 Weird thing. Please keep monitoring this issue with debug logs turned on, if possible.

It's so weired, because when the issue causes and website is not loading and stays blank, then i change to Adguard settings and switching to debug logging and after that website is also loading. Same like the workaround with filter updates. I will stay in debug logging now

Versty commented 1 year ago

@Konfetti030 How is it going?

Konfetti030 commented 1 year ago

@Versty Hi Diana, thanks for asking. Right now it seems to be good, nevertheless I never got a reply of my sent in debug log last time. I think it's working good since 2 nightly builds. A few seconds ago i just updated to latest. Right now i am using DNS over HTTPS which made always issues in the past. I would like to monitor it and follow it up so don't close this topic :)

Versty commented 1 year ago

@Konfetti030 Is everything working properly on your device? If so, would be better to close the issue. In case you notice this problem reproducing again, simply reopen it.

Konfetti030 commented 1 year ago

@Konfetti030 Is everything working properly on your device? If so, would be better to close the issue. In case you notice this problem reproducing again, simply reopen it.

I am not really sure what to answer. Since latest update and update before it seems to work better again. The updates between our last contact and the updates i mentioned it was bad again

Konfetti030 commented 1 year ago

@Versty Next thing what is interesting: Always when I am facing the issue again in the last time I do my workaround by manually updating filters. And the last times it was always happening when a new update is available. After update the website is loading in chrome normally again.

Versty commented 1 year ago

@Konfetti030 Would you mind staying on the nightly 79 for a couple of days and monitoring this issue? We would like to corroborate the case you described above. Some details about your Auto-update filters setting will be useful as well.

Konfetti030 commented 1 year ago

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

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

Konfetti030 commented 1 year ago

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

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

@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 devteam@adguard.com? Please mention the number #4478 in the subject line and the time when the issue occurred.

Konfetti030 commented 1 year ago

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

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

Konfetti030 commented 1 year ago

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

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

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

@Versty sent you debug log a few days ago

Konfetti030 commented 1 year ago

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

@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