I notice that all these Items are defined in .items files. It might be the case that the UI doesn’t properly display the states for such Items. I don’t know for sure. Use the REST API or watch the events.log to verify which part is lying to us. The states shown in the Items page of the lack of states (i.e. Items are NULL or UNDEF) shown in the individual Item pages.
Hi. I have the same problem. I have also spent about a week debugging it and have narrowed it down to antivirus software. It seems to be some config error with my laptop.
The things that are not working use the MIME type text/event-stream, for Server Sent Events.
Some AV software blocks these as suspicious. Sometimes it thinks it is a download and holds the data until the stream closes, and only then gives the data to the process that requested it.
Are you running any AV software? Any proxies?
Some things to try:
Does it work on other machines? e.g. Your phone, an emulator, etc.
Does it work in other browsers?
Does the dashboard work immediately after boot?
Mine works until about 3 minutes after boot, usually around the same time I get a notification from Windows Security (so when Windows Security is running).
Can you connect with HTTPS? e.g. https://yourdevice:8443/
I can’t. Something to do with SSL certificate errors (Firefox gives this error: PR_END_OF_FILE_ERROR and Insomnia this: Error: SSL peer certificate or SSH remote key was not OK; see the first thread I linked below).
Is the Stream Events tab working the Developer Console of the Main UI?
Mine isn’t. It also uses SSE.
Are you running any AV software? Any proxies? -> Of course, but no proxies
Does it work on other machines? Yes, just this one not.
Does it work in other browsers? Nope
Does the dashboard work immediately after boot? Never tried
Can you connect with HTTPS? e.g. https://yourdevice:8443/:I don’t get a specific error but the page doesn’t come up anyway. I can see some markup has been loaded.
Is the Stream Events tab working the Developer Console of the Main UI?: Works, but needs several minutes
Try opening your browser and pointing it to http://yourdevice:8080/rest/events/states.:No response
Indeed it is a AV problem. There is nothing I can do. Good to know, I’ll use a different computer.