-
-
Notifications
You must be signed in to change notification settings - Fork 457
Open
Labels
bugAn unexpected problem or unintended behavior of the CoreAn unexpected problem or unintended behavior of the Core
Description
- Platform information:
- Hardware: Opi5 Ultra
- OS: dietPI
- Java Runtime Environment: openjdk 17.0.15
- openHAB version: 4.3.5
- Issue of the topic: openhab floods network with mdns queries
Expected Behavior
openhab behaves well and does not flood my network
Current Behavior
openhab spams so much mdns queries that it kicks out wifi clients.
Steps to Reproduce (for Bugs)
- I setup a new SBC as homeserver. Everything was workinjg fine in the beginning
- Configuring openhab (adding bindings/things etc.). Some already work fine.
- Adding matter add-on, create Matter controller thing and unsuccessfully tried to add a matter node (tasmota with matter activated)
--> I noticed that suddenly network (wifi) became unreliable and that openhab used too much CPU (around 150% minimum).Stopping openhab makes network reliable again.
- I removed the matter related things and the addon.
- Several Restart of openhab and several reboots of the whole system
--> network is still flooded.
Note: I removed matter add-on and related things. It may be a coincidence that the problem started at the same time. However, if I stop openhab or stop the mdns bundles, the network is not flooded. So openhab is definitely the culprit here.
tcpdump with short example (note the timestamps that this is a window of 17ms only):
11:55:15.000646 IP 192.168.0.242.mdns > mdns.mcast.net.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.001010 IP6 fe80::820c:f9ff:fec8:c271.mdns > ff02::fb.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.001580 IP 192.168.0.242.mdns > mdns.mcast.net.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.001736 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.002694 IP6 fe80::820c:f9ff:fec8:c271.mdns > ff02::fb.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.002712 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.003000 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.003159 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.003359 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.003575 IP 192.168.0.242.mdns > mdns.mcast.net.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.003745 IP6 fe80::820c:f9ff:fec8:c271.mdns > ff02::fb.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.003955 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.004609 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.004810 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.004960 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.006200 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.006216 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.006255 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.006290 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.007396 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.007443 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.008553 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.009328 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.009381 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.009431 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.009775 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.010674 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.010994 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.011104 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.011202 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.011352 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.011982 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.012142 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.014385 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.014552 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.015657 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.015809 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.015879 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.016042 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.016195 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.016360 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.016416 IP 192.168.0.242.mdns > mdns.mcast.net.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.016525 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.016608 IP6 fe80::820c:f9ff:fec8:c271.mdns > ff02::fb.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.016690 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d:0:7887:a8ff:fe02:feb8 (86)
11:55:15.016767 IP 192.168.0.242.mdns > mdns.mcast.net.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.016933 IP6 fe80::820c:f9ff:fec8:c271.mdns > ff02::fb.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.017067 IP 192.168.0.242.mdns > mdns.mcast.net.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
11:55:15.017082 IP6 fe80::7887:a8ff:fe02:feb8.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 (Cache flush) AAAA fd7a:d212:312d::ffe5 (55)
11:55:15.017201 IP6 fe80::820c:f9ff:fec8:c271.mdns > ff02::fb.mdns: 0 AAAA (QM)? C049EF8DABD0.local. (36)
Ugly workaround:
As a quick fix, I stopped two of the bundles related to mDNS:
openhab> bundle:list | grep -i mdns
58 │ Active │ 80 │ 3.5.12 │ JmDNS
172 │ Waiting │ 80 │ 4.3.5 │ openHAB Core :: Bundles :: Configuration mDNS Discovery
187 │ Resolved │ 80 │ 4.3.5 │ openHAB Core :: Bundles :: REST mDNS Announcer
194 │ Resolved │ 80 │ 4.3.5 │ openHAB Core :: Bundles :: mDNS Service
258 │ Waiting │ 80 │ 4.3.5 │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery using ser2net mDNS scanning
265 │ Waiting │ 80 │ 4.3.5 │ openHAB Core :: Bundles :: mDNS Suggested Add-on Finder
Metadata
Metadata
Assignees
Labels
bugAn unexpected problem or unintended behavior of the CoreAn unexpected problem or unintended behavior of the Core