AdguardTeam / AdguardTeam/AdGuardHome

AGH trying to download filters over IPv6 even though network doesn't support IPv6

Open
#7,348 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Linux, MIPS LE

### Installation

GitHub releases or script from README

### Setup

On a router, DHCP is handled by the router

### AdGuard Home version

v0.108.0-b.58

### Action

Network doesn't support IPv6 but AGH is trying to download the filters from an IPv6 address:

```
2024/10/13 20:14:03.746275 [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": dial tcp [2606:50c0:8000::153]:443: connect: cannot assign requested address
dial tcp [2606:50c0:8001::153]:443: connect: cannot assign requested address
dial tcp [2606:50c0:8002::153]:443: connect: cannot assign requested address
dial tcp [2606:50c0:8003::153]:443: connect: cannot assign requested address
```

### Expected result

Use IPv4

### Actual result

Uses IPv6

### Additional information and/or screenshots

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.