Page 1 of 1

NetData connection refused error on IPv6 [SOLVED]

Posted: Mon Feb 20, 2023 2:05 pm
by cmdrdeliver
FriendlyWRT rk3588-usb-friendlywrt-22.03-docker-20230211
Default config

If I open 192.168.2.1 and go to Status > NetData it works as expected. Going to http://[fd00:ab:cd::1]/cgi-bin/luci/ > Status > NetData results in:

Code: Select all

The connection was reset

The connection to the server was reset while the page was loading.


Code: Select all

root@FriendlyWrt:~# netstat -l |grep 19999
tcp        0      0 0.0.0.0:19999           0.0.0.0:*               LISTEN     
tcp        0      0 :::19999                :::*                    LISTEN


Code: Select all

root@FriendlyWrt:~# curl http://[fd00:ab:cd::1]:19999/#
curl: (56) Recv failure: Connection reset by peer

root@FriendlyWrt:~# curl http://192.168.2.1:19999/#
<!doctype html><html lang="en"><head><title>netdata dashboard</title><meta name="application-name" content="netdata">


There don't appear to be any firewall rules in fw3 or fw4 that may affect IPV6 vs IPV4 to port 19999 and the issue tracker on NetData's gethub doesn't see anything wrong with IPV6.

What can we do to resolve this issue?

M

Re: NetData connection refused error on IPv6

Posted: Wed Feb 22, 2023 2:25 pm
by cmdrdeliver
Solution:

Edit /etc/netdata/netdata.conf
In the [web] section add fd* to your allowed lines
* ex allowed connections from = fd* 192.168.*

Netdata now responds to IPV6 local link addresses.

M