Skip to content

[Bug] UI: "Choose blocklists" modal remains open and fails to add selected filters on Save #8200

@ninjanoir356

Description

@ninjanoir356

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

GitHub releases or script from README

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.71

Action

Replace the following command with the one you're calling or a
description of the failing action:

nslookup -debug -type=a 'google.com' '$192.168.1.1'

Action: I am not reporting a DNS resolution failure, but a Web UI failure. However, here is the result of the debug command:

nslookup -debug -type=a google.com 192.168.1.1
Server:		192.168.1.1
Address:	192.168.1.1#53

------------
    QUESTIONS:
	google.com, type = A, class = IN
    ANSWERS:
    ->  google.com
	internet address = 142.250.69.110
	ttl = 30
    AUTHORITY RECORDS:
    ADDITIONAL RECORDS:
------------
Non-authoritative answer:
Name:	google.com
Address: 142.250.69.110

In the AdGuard Home Web UI, when attempting to add a new DNS blocklist using the "Choose from list" option, selecting a filter and clicking "Save" does not work as expected. The modal window remains open, and the selected list is not added to the DNS blocklists table.

Expected result

When I click "Save" after selecting a blocklist (like HaGeZi), the web interface does not send the command to the server, or the response from the server is not handled by the UI. The modal stays open.

Image

Actual result

The modal window should close automatically, and the selected blocklists should appear in the "DNS blocklists" list and begin downloading.

Additional information and/or screenshots

I checked the browser console while clicking "Save". A network error occurs every time I try to add a list.

Console Error:

Error: control/filtering/add_url | Network Error
makeRequest http://192.168.1.1:8080/main.6cb787f11bd39e9960df.js:2

Additional Context:

It seems the Web UI is unable to reach the API endpoint control/filtering/add_url. I am using AdGuard Home on a GL-MT6000 with OpenWrt.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions