furlongm / openvpn-monitor

openvpn-monitor is a web based OpenVPN monitor, that shows current connection information, such as users, location and data transferred.
http://openvpn-monitor.openbytes.ie
GNU General Public License v3.0
963 stars 293 forks source link

netdata and monitor 500 Internal #187

Open free514 opened 3 years ago

free514 commented 3 years ago

i turn on netdata with access to openvpn management

and monitor stop working

show 500 Internal Server Error or show Could not connect to localhost:5555 (timed out)

free514 commented 3 years ago

/srv/openvpn-monitor# python openvpn-monitor.py Traceback (most recent call last): File "openvpn-monitor.py", line 32, in from ipaddress import ip_address ImportError: No module named ipaddress

free514 commented 3 years ago

is because openvpn management not accept two connections one from openvpnmonitor and other from netadata?

there is anyway accept two connections?

furlongm commented 3 years ago

openvpn can only accept one connection over tcp/ip - you could try a using a socket for a second connection?