Unable to initialize CoAP access (network error) with Shelly battery devices

Dear Forum,
on all my battery devices (DW2 and HT) from Shelly i have an issue that that they worked in past with past with ip:port unicast and stopped working some time ago. All channels in a device were configured. I tried to delete and recreate one device but this one i’m not getting able to work (no new channels).

OS: openSUSE 15.2 on Intel NUC
Version problem in openHAB 3.1.0.M3 and openHAB 3.1.0.M4 (running version at the moment)
testet with zulu-11-11.43+55-1.x86_64 and zulu-11-11.48+21-1.x86_64

Status in openHAB
image

Shelly Manager


first three devices are running on battery with issues.

setting on all Shelly device (including reboot after change):
image

same error for all battery devices:
2021-05-07 05:48:47.787 [ERROR] [.eclipse.californium.core.CoapClient] - could not set and start client endpoint
java.net.SocketException: Die angeforderte Adresse kann nicht zugewiesen werden (Error setting socket option)
at java.net.PlainDatagramSocketImpl.socketSetOption0(Native Method) ~[?:?]
at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:91) ~[?:?]
at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:352) ~[?:?]
at java.net.MulticastSocket.setInterface(MulticastSocket.java:477) ~[?:?]
at org.eclipse.californium.elements.UdpMulticastConnector.start(UdpMulticastConnector.java:83) ~[?:?]
at org.eclipse.californium.core.network.CoapEndpoint.start(CoapEndpoint.java:506) ~[?:?]
at org.eclipse.californium.core.CoapClient.setEndpoint(CoapClient.java:356) ~[?:?]
at org.openhab.binding.shelly.internal.coap.ShellyCoapHandler.start(ShellyCoapHandler.java:133) ~[?:?]
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.initializeThing(ShellyBaseHandler.java:222) ~[?:?]
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.refreshStatus(ShellyBaseHandler.java:394) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
2021-05-07 05:48:47.790 [WARN ] [elly.internal.coap.ShellyCoapHandler] - shellyht-f933c9: Unable to initialize CoAP access (network error)
2021-05-07 05:48:48.641 [ERROR] [.eclipse.californium.core.CoapClient] - could not set and start client endpoint

debug log from shelly device when i disabled and enabled device in openHAB
19348861:1620360407505384 mgos_sys_config.c:232 Loading conf3.json
19452216 mgos_sys_config.c:174 Saved to conf9.json
19465774 mgos_mongoose.c:66 New heap free LWM: 34176
19470243 ht_sensor.c:342 ht signals: 0x4
19474210 stm_esp_comm.c:172 temp threshold 8, period 720
19567083 mgos_http_server.c:180 0x3fff25d4 HTTP connection from CLIENT-IP-PC:55965
19587861 mgos_mongoose.c:66 New heap free LWM: 33992
19782399 ht_sensor.c:342 ht signals: 0x20000
20406428 mgos_http_server.c:180 0x3fff2654 HTTP connection from CLIENT-IP-PC:55966
20417526 json.c:412 RAM: 51016 total, 36720 free
20500390 ht_sensor.c:552 0x00 wup 0x00 20.00 C 54.5% RH batt 2.96V (1011) S 0
26152342 mgos_http_server.c:180 0x3fff1d1c HTTP connection from :55977
26186607 json.c:412 RAM: 51016 total, 38232 free
30505682 ht_sensor.c:552 0x00 wup 0x00 20.00 C 54.5% RH batt 2.96V (1011) S 0
31173222 mgos_http_server.c:180 0x3fff1dd4 HTTP connection from :55983
31184302 json.c:412 RAM: 51016 total, 38788 free
34832757 ht_sensor.c:342 ht signals: 0x20000
35870651 mgos_http_server.c:180 0x3fff1f0c HTTP connection from CLIENT-IP-PC:55989
35880005 json.c:412 RAM: 51016 total, 38604 free
37704927 mgos_http_server.c:180 0x3fff203c HTTP connection from CLIENT-IP-PC:55996
37707841 mgos_http_server.c:180 0x3fff20f4 HTTP connection from CLIENT-IP-PC:55997

Hello @DrMett, were you able to fix this?
Seeing similar errors in the logs since I disabled DHCP on my raspberry pi

2022-07-05 10:25:16.073 [WARN ] [elly.internal.coap.ShellyCoapHandler] - shelly1-e8db84d7ab18: Unable to initialize CoAP access (network error)
2022-07-05 10:25:21.488 [ERROR] [.eclipse.californium.core.CoapClient] - could not set and start client endpoint
java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
        at java.net.PlainDatagramSocketImpl.socketSetOption0(Native Method) ~[?:?]
        at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:91) ~[?:?]
        at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:371) ~[?:?]
        at java.net.MulticastSocket.setInterface(MulticastSocket.java:477) ~[?:?]
        at org.eclipse.californium.elements.UdpMulticastConnector.start(UdpMulticastConnector.java:83) ~[?:?]
        at org.eclipse.californium.core.network.CoapEndpoint.start(CoapEndpoint.java:506) ~[?:?]
        at org.eclipse.californium.core.CoapClient.setEndpoint(CoapClient.java:356) ~[?:?]
        at org.openhab.binding.shelly.internal.coap.ShellyCoapHandler.start(ShellyCoapHandler.java:133) ~[?:?]
        at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.initializeThing(ShellyBaseHandler.java:296) ~[?:?]
        at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.refreshStatus(ShellyBaseHandler.java:440) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:829) [?:?]
2022-07-05 10:25:21.494 [WARN ] [elly.internal.coap.ShellyCoapHandler] - shelly1-483fda82270e: Unable to initialize CoAP access (network error)