Shelly bindig throwing exception IP_MULTICAST_IF: address not bound to any interface


shelly binding is keep throwing the following exception:
2020-12-04 08:22:23.264 [ERROR] [.eclipse.californium.core.CoapClient] - could not set and start client endpoint bad argument for IP_MULTICAST_IF: address not bound to any interface
at Method) ~[?:?]
at ~[?:?]
at ~[?:?]
at ~[?:?]
at org.eclipse.californium.elements.UdpMulticastConnector.start( ~[bundleFile:?]
at ~[bundleFile:?]
at org.eclipse.californium.core.CoapClient.setEndpoint( [bundleFile:?]
at org.openhab.binding.shelly.internal.coap.ShellyCoapHandler.start( [bundleFile:?]
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.initializeThing( [bundleFile:?]
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.lambda$0( [bundleFile:?]
at java.util.concurrent.Executors$ [?:?]
at [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
at java.util.concurrent.ThreadPoolExecutor$ [?:?]
at [?:?]

Because of that, in the rules the event detection is no working.

Any idea how to fix it?


in linux one enables an interface, named, say, eth0, for multicast with

ip route add dev eth0

not sure if this helps

good idea, now I managed to get rid of that error by rebooting openhab, but if I will see it again (and that happened before already) I will try this!