Power & Source of Big Ideas

NetData connection refused error on IPv6 [SOLVED]

Moderators: chensy, FATechsupport

FriendlyWRT rk3588-usb-friendlywrt-22.03-docker-20230211
Default config

If I open 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 *               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
<!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?


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.


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 1 guest