Detailed info here…
Setup:
• openHAB 3.4.1 via Docker on RaspberryPi
• WEINZIERL 731 KNX IP Interface 731
• LAN cable connection (no wifi issue)
Settings:
UID: knx:ip:Bridge
label: KNX/IP Gateway
thingTypeUID: knx:ip
configuration:
useNAT: false
readRetriesLimit: 3
ipAddress: 192.168.178.22
autoReconnectPeriod: 60
localIp: 192.168.178.63
localSourceAddr: 1.1.15
readingPause: 50
type: TUNNEL
portNumber: 3671
responseTimeout: 10
Error from log file:
2023-02-02 17:41:22.000 [TRACE] [.internal.handler.DeviceThingHandler] - Handling command '2.7 °C' for channel 'knx:device:bridge:GenericTemp:Aussentemperatur'
2023-02-02 17:41:21.975 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
tuwien.auto.calimero.knxnetip.KNXConnectionClosedException: send attempt on closed connection
at tuwien.auto.calimero.knxnetip.ConnectionBase.send(ConnectionBase.java:198) ~[?:?]
at tuwien.auto.calimero.knxnetip.KNXnetIPTunnel.send(KNXnetIPTunnel.java:213) ~[?:?]
at tuwien.auto.calimero.link.KNXNetworkLinkIP.onSend(KNXNetworkLinkIP.java:423) ~[?:?]
at tuwien.auto.calimero.link.AbstractLink.send(AbstractLink.java:385) ~[?:?]
at tuwien.auto.calimero.link.KNXNetworkLinkIP.sendRequestWait(KNXNetworkLinkIP.java:402) ~[?:?]
at tuwien.auto.calimero.mgmt.TransportLayerImpl.sendData(TransportLayerImpl.java:351) ~[?:?]
at tuwien.auto.calimero.mgmt.ManagementClientImpl.send(ManagementClientImpl.java:1275) ~[?:?]
at tuwien.auto.calimero.mgmt.ManagementClientImpl.send(ManagementClientImpl.java:1259) ~[?:?]
at tuwien.auto.calimero.mgmt.ManagementClientImpl.sendWait2(ManagementClientImpl.java:1295) ~[?:?]
at tuwien.auto.calimero.mgmt.ManagementClientImpl.readDeviceDesc(ManagementClientImpl.java:595) ~[?:?]
at tuwien.auto.calimero.mgmt.ManagementProceduresImpl.isAddressOccupied(ManagementProceduresImpl.java:391) ~[?:?]
at org.openhab.binding.knx.internal.client.AbstractKNXClient.isReachable(AbstractKNXClient.java:435) ~[?:?]
at org.openhab.binding.knx.internal.handler.AbstractKNXThingHandler.pollDeviceStatus(AbstractKNXThingHandler.java:148) ~[?:?]
at org.openhab.binding.knx.internal.handler.AbstractKNXThingHandler.lambda$1(AbstractKNXThingHandler.java:190) ~[?:?]
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) [?:?]
2023-02-02 17:41:22.001 [TRACE] [.knx.internal.channel.KNXChannelType] - getCommandSpec testing Keys '[ga]' for command '2.7 °C'
2023-02-02 17:41:22.003 [DEBUG] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:Bridge is disconnecting from KNX bus
2023-02-02 17:41:22.004 [DEBUG] [nx.internal.client.AbstractKNXClient] - The KNX network link was detached from the process communicator
2023-02-02 17:41:22.004 [DEBUG] [rnal.handler.AbstractKNXThingHandler] - An error occurred while testing the reachability of a thing 'knx:device:Bridge:A62': link closed, send attempt on closed connection
2023-02-02 17:41:22.004 [TRACE] [.knx.internal.channel.KNXChannelType] - getCommandSpec key 'ga' uses expectedTypeClass 'class org.openhab.core.library.types.DecimalType' which isInstance for command '2.7 °C' and dpt '9.001'
2023-02-02 17:41:22.012 [TRACE] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:Bridge disconnected from KNX bus
2023-02-02 17:41:22.012 [TRACE] [nx.internal.client.AbstractKNXClient] - writeToKNX groupAddress '3/1/220', commandSpec 'org.openhab.binding.knx.internal.channel.WriteSpecImpl@1c227bc'
2023-02-02 17:41:22.014 [TRACE] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:Bridge, connection interrupted
2023-02-02 17:41:22.015 [DEBUG] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:Bridge is disconnecting from KNX bus
2023-02-02 17:41:22.017 [TRACE] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:Bridge disconnected from KNX bus
2023-02-02 17:41:22.025 [DEBUG] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:Bridge scheduling connect in 60s
2023-02-02 17:41:22.025 [DEBUG] [nx.internal.client.AbstractKNXClient] - KNX link has been lost (reason: server request on object tunneling link (closed) 192.168.178.22:3671 TP1 medium, device 1.1.15, hopcount 6)
2023-02-02 17:41:22.028 [TRACE] [.internal.handler.DeviceThingHandler] - rememberRespondingSpec handled commandSpec for '3/1/220' size '1' added 'true'
2023-02-02 17:41:22.028 [DEBUG] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:Bridge scheduling connect in 60s
I’ve been using Openhab for years and the error has existed for a few weeks.
I restarted openhab on 2/2 2023. The system ran error-free until 2/7/2023.
The error only occurs at longer intervals and ends in aborts every minute:
2023-02-07 11:40:25.249 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 12:27:57.532 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 13:07:38.497 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 14:29:27.866 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 16:13:53.202 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 18:07:22.861 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 18:45:35.182 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 19:53:35.804 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 19:55:44.060 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 20:33:59.393 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 21:48:24.917 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 21:49:24.565 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-07 22:09:54.711 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 00:00:15.551 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 00:27:04.311 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 00:28:10.718 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 01:12:15.230 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 01:14:33.392 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 01:15:37.302 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 01:17:49.909 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 01:20:21.479 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 02:29:45.950 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 03:54:27.546 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 04:16:23.054 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:03:05.167 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:04:08.667 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:07:22.311 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:18:19.236 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:19:21.160 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:20:26.278 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:26:59.430 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:30:13.297 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
2023-02-08 05:31:18.724 [ERROR] [calimero.link.192.168.178.22:3671 ] - send error, closing link
Does anyone have an idea how to debug this further?