AdguardTeam / AdguardForWindows

AdGuard for Windows open bug tracker
https://adguard.com/
691 stars 72 forks source link

local.adguard.org connection(s)/reqest(s) are not handled in network filtering mode #4908

Closed DBotThePony closed 11 months ago

DBotThePony commented 12 months ago

AdGuard version

7.15.0 nighty 29 (build 4461)

Browser version

Any

OS version

Windows 10 Pro 10.0.19044

What filters do you have enabled?

No response

What Stealth Mode options do you have enabled?

No response

Support ticket ID

No response

Issue Details

Steps to reproduce:

  1. Install said Adguard version
  2. Try to navigate web pages
  3. Notice slow page loading times, with Waiting for local.adguard.org... status in bottom left.

Please see additional notes.

Actual Behavior

No response

Expected Behavior

No response

Screenshots

s0RegXV98f

Additional Information

Connecting to local.adguard.org finishes with "Connection refused" (as expected).

Windows reports "no internet connection", due to ISP cable cutoff due to extreme weather conditions, hence mobile internet is utilized (home router is wireless AP connected to android smartphone). Despite Windows reporting "no connection", internet connection functions normally.

Using Adguard in proxy mode DOES work, local.adguard.org requests are properly served by Adguard itself.

Trying to update filters in Adguard app window results in a lot of them being reported as "Error", despite being able to load them directly through web browser.

Service logs are spammed with this:

INFO, AdguardSvc.exe, Logger, 52, 20.11.2023 8:45:37.842, Finished stopping the DnsProxyServer
INFO, AdguardSvc.exe, Logger, 52, 20.11.2023 8:45:37.842, Stopping the DNS proxy server has been successfully completed
INFO, AdguardSvc.exe, Logger, 22, 20.11.2023 8:45:38.255, Try to remove previous downloading directories.
INFO, AdguardSvc.exe, Logger, 46, 20.11.2023 8:45:50.740, Executing job Check filters update
WARNING, AdguardSvc.exe, Logger, 46, 20.11.2023 8:45:50.740, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 46, 20.11.2023 8:45:50.740, Job Check filters update has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 46, 20.11.2023 8:45:50.740, Executing job Check for push messages updates
WARNING, AdguardSvc.exe, Logger, 46, 20.11.2023 8:45:50.740, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 46, 20.11.2023 8:45:50.740, Job Check for push messages updates has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.754, Executing job Check filters update
WARNING, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.754, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.754, Job Check filters update has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.754, Executing job Check for push messages updates
WARNING, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.755, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.755, Job Check for push messages updates has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.755, Executing job Check for push messages to show
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:46:50.765, Job Check for push messages to show has been executed successfully
INFO, AdguardSvc.exe, Logger, 25, 20.11.2023 8:47:50.787, Executing job Check filters update
WARNING, AdguardSvc.exe, Logger, 25, 20.11.2023 8:47:50.787, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 25, 20.11.2023 8:47:50.787, Job Check filters update has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 25, 20.11.2023 8:47:50.787, Executing job Check for push messages updates
WARNING, AdguardSvc.exe, Logger, 25, 20.11.2023 8:47:50.787, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 25, 20.11.2023 8:47:50.788, Job Check for push messages updates has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 22, 20.11.2023 8:48:50.818, Executing job Check filters update
WARNING, AdguardSvc.exe, Logger, 22, 20.11.2023 8:48:50.818, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 22, 20.11.2023 8:48:50.818, Job Check filters update has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 22, 20.11.2023 8:48:50.818, Executing job Check for push messages updates
WARNING, AdguardSvc.exe, Logger, 22, 20.11.2023 8:48:50.818, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 22, 20.11.2023 8:48:50.819, Job Check for push messages updates has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:49:50.850, Executing job Check filters update
WARNING, AdguardSvc.exe, Logger, 20, 20.11.2023 8:49:50.850, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:49:50.850, Job Check filters update has been delayed due to internet absence
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:49:50.850, Executing job Check for push messages updates
WARNING, AdguardSvc.exe, Logger, 20, 20.11.2023 8:49:50.850, Internet is not available, delay job execute.
INFO, AdguardSvc.exe, Logger, 20, 20.11.2023 8:49:50.850, Job Check for push messages updates has been delayed due to internet absence
DBotThePony commented 12 months ago

After disabling and enabling on-fly filtering (not the setting in advanced options) for third time AND manually restarting adguard service and filtering driver, it works again.

While problem with local.adguard.org serving is "solved", this bug appeared multiple times already, seemingly at random.

What is interesting though, despite local.adguard.org requests not being handled locally, filtering still work (ad requests are blocked), but obviously cosmetic filtering doesn't work.

AlexandrPkhm commented 12 months ago

Hi @DBotThePony

Could you please let us know if you are using any antivirus or other network related software on your device? Also, if you encounter this problem again, please try going to Settings → General Settings → Advanced Settings and unchecking the Filter localhost checkbox there and let us know if this helps.

DBotThePony commented 12 months ago

Other network software includes Adguard VPN and maybe VMware Workstation virtual machines (bridged network mode), but Adguard VPN works in SOCKS mode. I don't run any third party antiviruses or firewalls.

AlexandrPkhm commented 11 months ago

@DBotThePony

Understood. Could you please let us know if Filter localhost is disabled in the AdGuard settings?

DBotThePony commented 11 months ago

It is enabled.

AlexandrPkhm commented 11 months ago

@DBotThePony

If you are using AdGuard in conjunction with AdGuard VPN or other network related software, and you are experiencing problems loading websites, please make sure to disable Filter localhost in the AdGuard settings. This is to avoid network looping issues.

If the issue reappears after that, please reopen this issue, and we will continue our investigation.

DBotThePony commented 11 months ago

@DBotThePony

If you are using AdGuard in conjunction with AdGuard VPN or other network related software, and you are experiencing problems loading websites, please make sure to disable Filter localhost in the AdGuard settings. This is to avoid network looping issues.

If the issue reappears after that, please reopen this issue, and we will continue our investigation.

As i said before, Adguard VPN is working in SOCKS5 mode, not VPN mode. When i need to open specific website through VPN, i create rule in Proxy SwitchyOmega, so this is not caused by interference from Adguard VPN side.

AlexandrPkhm commented 11 months ago

@DBotThePony

The local SOKS5 proxy created by AdGuard VPN still uses the Localhost address, so some interference is still possible.