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

Updating Blocklists - context deadline exceeded (Client.Timeout exceeded while awaiting headers) #7534

Open
4 tasks done
philvbprogrammer opened this issue Dec 28, 2024 · 2 comments

Comments

@philvbprogrammer
Copy link

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

Docker

Setup

On one machine

AdGuard Home version

v0.108.0-a.1009+0b25119c

Action

Updating DNS Blocklists, the GUI hangs a long time displaying "Loading...", if i look at logs, shows

2024/12/29 03:46:50.705506 [error] filtering: updating filter from url "https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt": reading from url: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

I have attached to docker and installed curl on alpine, to test connectivity and response is:

/opt/adguardhome/work # curl https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt |more
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0!
! Title: AdGuard DNS filter
! Description: List composed of several filters (AdGuard Base filter, Social Media filter, Tracking Protection filter, Mobile Ads filter, EasyList and EasyPrivacy) and simplified specifically to be better compatible with DNS-level ad blocking
! Version: 1.0.19.33
! Homepage: https://github.com/AdguardTeam/AdguardSDNSFilter
! Last modified: 2024-12-28T12:08:23.142Z
!
! Compiled by @adguard/hostlist-compiler v1.0.29
!
||hellerraucous.top^
||pm.chetahtalc.com^
||jhu8u9.pro^
||fdolspwa.my^
||loftersvisaya.com^
||chimneydicier.com^
||gsrgjsmymkwt.com^

so the docker container can see the internet.

nslookup returns:

/opt/adguardhome/work # nslookup https://adguardteam.github.io
Server: 9.9.9.9
Address: 9.9.9.9:53

Non-authoritative answer:
Name: https://adguardteam.github.io
Address: 2606:50c0:8001::153
Name: https://adguardteam.github.io
Address: 2606:50c0:8003::153
Name: https://adguardteam.github.io
Address: 2606:50c0:8000::153
Name: https://adguardteam.github.io
Address: 2606:50c0:8002::153

Non-authoritative answer:
Name: https://adguardteam.github.io
Address: 185.199.111.153
Name: https://adguardteam.github.io
Address: 185.199.110.153
Name: https://adguardteam.github.io
Address: 185.199.108.153
Name: https://adguardteam.github.io
Address: 185.199.109.153

Expected result

DNS Block Lists Updated and last updated time as last run time

Actual result

"loading..." for about 10mins then the "Loading..." disappeared and the blocklist have not updated and the time also has not updated

Additional information and/or screenshots

Running on ASUSTOR AS4004T NAS Unit

@philvbprogrammer
Copy link
Author

philvbprogrammer commented Dec 29, 2024

Update: so the files have updated, however i watched the process happening and although they do download they hit the 5 mins timeout, i only have the 2 adguard supplied blocklists set and enabled, and the process retries 3 times each. taking an overall 30mins before the process completes.....mmm what causes the process to never complete and just time out? even though the files have updated... 1.txt is 1.10MB and 2.txt is 237.43KB so they are completely different is size, sure 1.txt might take a while longer than 2.txt but both should complete relatively quickly, Thanks

@andyr8939
Copy link

andyr8939 commented Jan 8, 2025

I'm having the same problem. Been using Adguard Home in Docker for over a year and only recently have I started seeing this happen. Tried a fresh install on a new host today and same issue out the box.

I should add that if I install PiHole on the same host instead of AdGuard then this works fine and can pull all the same blocklists down fine.

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

No branches or pull requests

2 participants