simplexmq icon indicating copy to clipboard operation
simplexmq copied to clipboard

smp-server start fails on ubuntu without IPv6

Open cthulhubuddha opened this issue 1 year ago • 5 comments

I have an ubuntu server with IPv6 disabled and smp-server 6.2 fails to start wiith the following error:

smp-server: Network.Socket.socket: unsupported operation (Address family not supported by protocol)

I don't see IPv6 being listed as a requirement in any docs, is this a bug?

cthulhubuddha avatar Jan 05 '25 16:01 cthulhubuddha

Deployment update: Using prebuilt binary smp-server 6.2 Ubuntu 22.04

/etc/sysctl.conf net.ipv6.conf.*.disable_ipv6=1

smp-server spins up just fine with the above sysctl.conf settings set to =0 (IPv6 enabled).

Can the prebuilt binary check for ipv6 and not try to run with it if it is disabled?

cthulhubuddha avatar Feb 11 '25 21:02 cthulhubuddha

I didn't see anything in the 6.3.0 change log regarding this, but am confirming after updating to 6.3.0 this is still an issue.

cthulhubuddha avatar Mar 09 '25 17:03 cthulhubuddha

So, if we forcibly disable IPv6 support in the system, the smp-server binary does not start at all. If we leave this setting untouched, everything works as expected. Maybe this is a subtle hint that soon nothing will work without IPv6 support? :)

stalker-vishnu avatar Aug 30 '25 06:08 stalker-vishnu

So, if we forcibly disable IPv6 support in the system, the smp-server binary does not start at all. If we leave this setting untouched, everything works as expected. Maybe this is a subtle hint that soon nothing will work without IPv6 support? :)

that would suck

cthulhubuddha avatar Oct 23 '25 22:10 cthulhubuddha

Updating to confirm 6.4.4 still fails if the underlying system has ipv6 disabled. Is there a way to disable this ipv6 requirement when compiling from source?

cthulhubuddha avatar Oct 23 '25 22:10 cthulhubuddha