AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

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

Open philvbprogrammer opened this issue 1 year ago • 6 comments

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 avatar Dec 28 '24 15:12 philvbprogrammer

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

philvbprogrammer avatar Dec 29 '24 07:12 philvbprogrammer

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.

andyr8939 avatar Jan 08 '25 02:01 andyr8939

I am running adguard home v0.107.59 inside a raspberry pi running home assistant and I am having the same issues where updating the block list hangs up the whole system. I then have to do a hard reboot since I have no internet access while its running the update.

Zora-Z0 avatar Apr 07 '25 16:04 Zora-Z0

I am not sure if this will fix it for anyone else but it seems like my routers QOS is what's causing the hang ups. For some reason if I have the QOS enable I will have internet access but some devices will not work properly, eg adguard and some android devices. If I turn it off and switch it to just bandwidth limiter it than starts working fine.

Zora-Z0 avatar Apr 11 '25 22:04 Zora-Z0

Hello. Could you please let me know if this issue is still relevant to you?

sofvaskina avatar Sep 02 '26 11:09 sofvaskina

Closed due not reply

GulnazSalakhova avatar Sep 28 '26 12:09 GulnazSalakhova