AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
24.42k stars 1.77k forks source link

upstream server unreachable cause keeping report errors and then crash #6937

Open lnc1995 opened 4 months ago

lnc1995 commented 4 months ago

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Docker

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.48

Action

I set the upstream DNS servers to "h3://8.8.8.8/dns-query" and "h3://1.1.1.1/dns-query" which is actually not reachable in China. So the AdGuardHome depends on a proxy service to run,once the proxy offline,AdGuardHome will report erorrs crazy and then crash. image Error info : [error] dnsproxy: https://8.8.8.8:443/dns-query: response received over udp: "requesting https://8.8.8.8:443/dns-query: Get_0rtt \"https://8.8.8.8:443/dns-query?dns=AAABBB\": timeout: no recent network activity"

Expected result

Maybe the offical can add an option . After detected the upstream server is unavailable, check again every customize mintues rather than checking so frequently.

Actual result

Keeping report erorrs and then crash.

Additional information and/or screenshots

No response

renatoyamane commented 4 months ago

Are you using VPN? I started to see these timeout erros when using OpenVPN (udp) on the router where the Adguard is also running

lnc1995 commented 4 months ago

Are you using VPN? I started to see these timeout erros when using OpenVPN (udp) on the router where the Adguard is also running

Yes,I'm using VPN,like i said , if the VPN down ,AdguardHome will report these errors.