OpenHab 4.3 Main UI: Developer sidebar event streaming blocks Chrome Tabs

I found a strange problem in OpenHab 4.3 that blocks other tabs of Openhab to load. I can reproduce this problem every time like this:

  • Open developer sidebar in Main UI.
  • Start event streaming.
  • Wait for 10 seconds.
  • Open an additional Main UI tab in Chrome.
  • New tab load infinitely.
  • Opening the Main UI in other browser (e.g. Firefox or Edge) still works.
  • Stop event streaming on first Chrome tab.
  • Second Chrome tab loads immediateley.

I tested this with various browsers and with OpenHab 4.3 and 4.2 and I could only reproduce this problem with Chrome and Edge with OpenHab 4.3. I guess that all Chromium based browsers have this problem.

I also tested this in Firefox and could not reproduce the problem.

The Chrome task manager does not show a significantly higher cpu or memory load when the event stream is running and the developer console also does not show any problems.

Any ideas what could cause this problem?

There was a move to HTTP2 as well as the introduction of the log viewer using a websocket that pushes all logging events. I would guess either of these could cause some issue like this. The former is more likely to be a cause than the latter because I don’t think the log viewer is doing anything when you don’t have it open.

If not one chimes in here in a bit, open a new tab. You’ve got the steps necessary to reproduce the problem so hopefully one of the devs can reproduce and figure out what’s going on.