-
Notifications
You must be signed in to change notification settings - Fork 782
SSE connection crashes on DateTime event updates #4678
Comments
Thanks for the report - from what it seems, it is unrelated to the Basic UI itself, but the SSE connection breaks on the server. I have updated the issue title accordingly. |
I just tried to reproduce the issue but it worked for me.... @d3rh3ld How does your sitemap look like exactly? Can you reproduce it with this one, i.e. by adding a
I left this basicui main page open for about 5 minutes now and it always shows me the correct date and I also do not get any errors. |
Sorry for the late answer, but i tried a lot of things. The cyclic error is gone, also i don't have to delete the cache folder in order to get successfull restarts of the openhab service. But the CurrentDate enty in the sitemap doesn't update on its own, i have to do a manual refresh in the browser. Any ideas how to get rid of this issue? |
I want to refer my thread in the community:
https://community.openhab.org/t/basicui-offline-waiting-for-connection-to-become-available-message-triggered-by-item-update/36828
It seems the message “Offline: waiting for connection to become available” occours when an item, which is visible in the sitemap, gets updated.
And it does not matter if the update is triggered by the user in the basicUI or by an automated update.
My example with the NTP binding:
sitemap:
Text item=CurrentDate
Log:
In BasicUI i get the message “Offline: waiting for connection to become available” everytime the error is logged.
After removing the sitemap element:
But as expected I still get the error, when other items which are still in the sitemap are getting updated.
When i close the browser, the errors in the log are gone.
Even opening an subpage (group) in the basicui results in no more errors.
After returning to the mainpage the errors are back again.
I tested this in Chrome and Firefox
I’m running the OH2 snapshot #1106
The text was updated successfully, but these errors were encountered: