Open jgroman opened 2 years ago
The tcp
server type already provides fallback for IPv4 connections if an IPv6 stack is available, so it's basically dual stack. I have not had the time to experiment with an automatic fallback for an IPv4-only scenario, the tcp4
server is basically the manual fallback for that case for now.
It would probably be a good idea to have just one tcp
server type in the future if it works out.
I ended up not merging the provided PR simply because it contained a number of unrelated changes. I did try to fix the underlying issue in the latest commits though. Please let me know if this is fixed now.
I tried running openwebrx and later just codecsesrver latest Docker image on my x86_64 box running Ubuntu server 20.04. Codecserver running in both those containers would cause 100% CPU core load and following console output:
After looking info configuration I found out that the issue is probably related to unavailability of IPv6. My server has IPv6 disabled in GRUB configuration
/etc/default/grub
like this:After modifying codecserver server type to
tcp4
everything worked as expected. May I suggest for codecserver to have some kind of tcp6 to tcp4 fallback in case tcp6 is not available and server type is set totcp
?Thank you!