SocketException: Unsupported address type

After each node change by the linstor controller, the following error appears:

SocketException: Unsupported address type

What could be happening? How can I fix it?

What is a node change?

And where does the error appear?

Hi, thank you for your response.
Every time the controller changes nodes (I have a 3-node cluster), with the drbd-reactor service, the error mentioned appears in the table shown with “linstor error-reports list”

AFIAK this message comes, when the controller tries to bind on the ipv6 socket, but that doesn’t work because ipv6 isn’t configured. then it will fallback to ipv4.

but you would need to share the error-report, to be 100% sure, if thats the case you should be able to directly bind to the ipv4 port and the controller wouldn’t try ipv6

linstor err s 6A03318B-00000-000000

ERROR REPORT 6A03318B-00000-000000

============================================================

Application: LINBIT® LINSTOR
Module: Controller
Version: 1.33.3
Build ID: 1ff3a1ea5cb5c77100265ec442bb9a492b225145
Build time: 2026-05-11T11:56:03+00:00
Error time: 2026-05-12 10:56:28
Node: xxxxxxxx
Thread: Main

============================================================

Reported error:

Category: Exception
Class name: SocketException
Class canonical name: java.net.SocketException
Generated at: Method ‘translateToSocketException’, Source file ‘Net.java’, Line #197

Error message: Unsupported address type

Call backtrace:

Method                                   Native Class:Line number
translateToSocketException               N      sun.nio.ch.Net:197
translateException                       N      sun.nio.ch.Net:227
translateException                       N      sun.nio.ch.Net:233
bind                                     N      sun.nio.ch.ServerSocketAdaptor:91
bindToChannelAndAddress                  N      org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler:95
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler:63
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOTransport:224
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOTransport:207
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOTransport:199
start                                    N      org.glassfish.grizzly.http.server.NetworkListener:740
start                                    N      org.glassfish.grizzly.http.server.HttpServer:234
start                                    N      com.linbit.linstor.api.rest.v1.config.GrizzlyHttpService:319
initialize                               N      com.linbit.linstor.systemstarter.GrizzlyInitializer:89
startSystemServices                      N      com.linbit.linstor.core.ApplicationLifecycleManager:93
start                                    N      com.linbit.linstor.core.Controller:371
main                                     N      com.linbit.linstor.core.Controller:637

Caused by:

Category: RuntimeException
Class name: UnsupportedAddressTypeException
Class canonical name: java.nio.channels.UnsupportedAddressTypeException
Generated at: Method ‘checkAddress’, Source file ‘Net.java’, Line #171

Call backtrace:

Method                                   Native Class:Line number
checkAddress                             N      sun.nio.ch.Net:171
netBind                                  N      sun.nio.ch.ServerSocketChannelImpl:330
bind                                     N      sun.nio.ch.ServerSocketChannelImpl:294
bind                                     N      sun.nio.ch.ServerSocketAdaptor:89
bindToChannelAndAddress                  N      org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler:95
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler:63
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOTransport:224
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOTransport:207
bind                                     N      org.glassfish.grizzly.nio.transport.TCPNIOTransport:199
start                                    N      org.glassfish.grizzly.http.server.NetworkListener:740
start                                    N      org.glassfish.grizzly.http.server.HttpServer:234
start                                    N      com.linbit.linstor.api.rest.v1.config.GrizzlyHttpService:319
initialize                               N      com.linbit.linstor.systemstarter.GrizzlyInitializer:89
startSystemServices                      N      com.linbit.linstor.core.ApplicationLifecycleManager:93
start                                    N      com.linbit.linstor.core.Controller:371
main                                     N      com.linbit.linstor.core.Controller:637

END OF ERROR REPORT

yes, this comes from our HTTP server trying to bind on ::

I guess you can get rid of the error if you add

[http]
listen_addr = "0.0.0.0"

to your /etc/linstor/linstor.toml

Thank you so much for your help.
This change get rid of the error.

Best regards