netbird
netbird copied to clipboard
Unable to run management servers without container because pprof server
Describe the problem
A clear and concise description of what the problem is.
Some of management servers unconditionally tries to start pprof server on localhost:6060
and fails to start because port may be already used by one of them.
To Reproduce
Steps to reproduce the behavior:
-
Build mgmt / relay / signal
-
Try to run them all at the same machine without lo isolation
-
Scroll down to '....'
-
See error
Expected behavior
Services obey NB_PPROF_ADDR.
Are you using NetBird Cloud? No, self-hosted.
NetBird version
0.61.0
Is any other VPN software installed?
Yes, but it's not cause that bug.
My fix: https://github.com/vooon/my-openwrt-feed/blob/master/netbird-mgmt/pathes/0001-fix-make-pprof-address-configurable-and-optional.patch