Openhab 2.5 knx binding disconnecting - no reconnection

Hi there,

hope everyone is doing well in these challenging days.

I am experiencing the knx2 binding disconnecting from knxd (TUNNEL) shortly after openhab2 has started with the following error messages:

> 2020-06-08 20:05:15.564 [ERROR] [NXnet/IP Tunneling 192.168.1.10:3671] - close connection - maximum send attempts
> 
> tuwien.auto.calimero.KNXAckTimeoutException: maximum send attempts, no service acknowledgment received
> at tuwien.auto.calimero.knxnetip.ConnectionBase.send(ConnectionBase.java:250) ~[?:?]
> at tuwien.auto.calimero.knxnetip.KNXnetIPTunnel.send(KNXnetIPTunnel.java:177) ~[?:?]
> at tuwien.auto.calimero.link.KNXNetworkLinkIP.onSend(KNXNetworkLinkIP.java:264) ~[?:?]
> at tuwien.auto.calimero.link.AbstractLink.send(AbstractLink.java:332) ~[?:?]
> at tuwien.auto.calimero.link.KNXNetworkLinkIP.sendRequestWait(KNXNetworkLinkIP.java:243) ~[?:?]
> at tuwien.auto.calimero.mgmt.TransportLayerImpl.sendData(TransportLayerImpl.java:372) ~[?:?]
> at tuwien.auto.calimero.mgmt.ManagementClientImpl.send(ManagementClientImpl.java:797) ~[?:?]
> at tuwien.auto.calimero.mgmt.ManagementClientImpl.sendWait2(ManagementClientImpl.java:824) ~[?:?]
> at tuwien.auto.calimero.mgmt.ManagementClientImpl.readDeviceDesc(ManagementClientImpl.java:447) ~[?:?]
> at org.openhab.binding.knx.internal.client.DeviceInfoClientImpl.lambda$0(DeviceInfoClientImpl.java:89) ~[?:?]
> at org.openhab.binding.knx.internal.client.DeviceInfoClientImpl.readFromManagementClient(DeviceInfoClientImpl.java:59) ~[?:?]
> at org.openhab.binding.knx.internal.client.DeviceInfoClientImpl.readDeviceDescription(DeviceInfoClientImpl.java:87) ~[?:?]
> at org.openhab.binding.knx.internal.client.DeviceInspector.readDeviceDescription(DeviceInspector.java:141) ~[?:?]
> at org.openhab.binding.knx.internal.client.DeviceInspector.readDeviceInfo(DeviceInspector.java:89) ~[?:?]
> at org.openhab.binding.knx.internal.handler.AbstractKNXThingHandler.describeDevice(AbstractKNXThingHandler.java:93) ~[?:?]
> at org.openhab.binding.knx.internal.handler.AbstractKNXThingHandler.lambda$0(AbstractKNXThingHandler.java:157) ~[?:?]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_191]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_191]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] 
> 2020-06-08 20:06:28.693 [DEBUG] [nx.internal.client.AbstractKNXClient] - Could not read value for datapoint 1/4/44: timeout waiting for group read response from 1/4/44. Going to retry.
> 2020-06-08 20:06:28.795 [DEBUG] [nx.internal.client.AbstractKNXClient] - Bridge knx:ip:tunnel is disconnecting from the KNX bus

knx thing: minimal config
Bridge knx:ip:tunnel [
ipAddress=“192.168.1.10”,
type=“TUNNEL”
] {…}

Any suggestion how to fix this?

Many thanks in advance and stay healthy

Klaus

Hi, I had the same issues after upgrading to 2.5.
Did you also out commented the fetch, pingInterval and readInterval of the knx devices in your thing config? This fixed it for me.

I have an odd issue where everything works fine for a couple weeks and then knx communication stops with no errors. The bus just goes quiet until I stop/start openhab.

I might try disabling fetch/ping interval.

@Tobias, @crystollic - thanks for the hints. I changed my config accordingly, but this didn’t change too much:

2020-06-09 19:02:08.494 [DEBUG] [nx.internal.client.AbstractKNXClient] - Could not read value for datapoint 4/1/5: timeout waiting for group read response from 4/1/5. Going to retry.>
[ERROR] [NXnet/IP Tunneling 192.168.1.10:3671] - close connection - maximum send attempts
tuwien.auto.calimero.KNXAckTimeoutException: maximum send attempts, no service acknowledgment received

I have enabled logging in KARAF for KNX, but this does not reveal any hint what really went wrong. Any suggestion how to troubleshoot this issue further?

Thanks,

Klaus

Perhaps check the number of tunnel connections? If your tunnel device supports 5 connections and both openhab and ETS are connecting that might explain why it times out after a while.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.