-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[KNX] Too much tunnel connections #5911
Comments
Did you try downgrading to |
Thanks for the suggestion. I've just downgraded the binding so I'll see how it works out. |
Hi @teaserrr, I need to withdraw my suggestion. I tried several KNX Binding releases 1.9 to 1.14 and after same runtime, I get these errors again. But these errors appeared weeks ago. They weren't there a few months ago. Strange... Maybe, it's something server-related? Regards, |
@SAQ1973 I'm running on an RPI 3B with Openhabian. I havan't tried anymore since I downgraded and at the moment I can't check in ETS because I'm not on my home network and I can't access the bus over my VPN. But I can see that there are still only 4 UDP 'connections' when I log in to my RPI:
I also see 2 disconnects/reconnects since last time I restarted OH. In these cases there are no multiple reconnects in the same second as I originally reported. So for mee it seems solved by downgrading. |
I noticed that my errors happened mostly (or maybe always) during the night. I will continue to monitor them. |
I regularly notice that I cannot make a tunnel connection in ETS to the KNX bus anymore. I can resolve this by starting OpenHAB. After restarting, I have no problems for several weeks.
Today I had this issue again and I listed all the UDP connections:
Then I restarted OpenHAB. Running the above command gave no results.
During startup, connections were created again:
After the KNX binding was initialized, and I started seeing loads of status telegrams in ETS group monitor (which always happens during startup), 1 more connection was created:
$ sudo netstat -aunp | grep java
So that's 4 UDP connections vs 7 before restart. We can assume at this point there is only 1 for KNX. My KNX IP interface has 4 tunnels, so 3 extra tunnels would mean all tunnels are occupied and any extra (e.g. ETS) cannot be established.
In the OpenHAB knx logging I sporadically see disconnects and reconnects. However sometimes it tries to reconnect multiple times in the same 100ms:
Could this be the cause? Or are the old tunnels somehow not released?
Your Environment
OpenHab 2.4.0 Release
binding-knx1 - 1.13.0
Running on Raspberry Pi 3
KNX IP interface: MDT SCN-IP100.02
knx.conf:
The text was updated successfully, but these errors were encountered: