In my dashboard, I created an image tile of my ip camera's stream. The camera is only available on my local network, and the url uses that local ip address. When I'm in the local dashboard the stream does not display. It only shows the broken image link icon. When I switch to the cloud dashboard, the image stream does display.
My original problem was happening with my D-Link DCS-2132LB. I tested my foscam jpeg url, and that seems to work in both local and cloud (while still being on my local network) modes. So I think it might be caused by how the dashboard is handling the d-link image url.
The camera URL is http, so it should work in local and not in cloud, but that seems to be the opposite.
One other thing I noticed is that with the D-Link camera, sometimes, even though the id and password are passed along in the url address (maybe it isn't), I will still get prompted for my id and password in a pop up window.
On other other thing I noticed. When I'm in local mode, right click the tile with the broken jpeg stream, and open image in a new tab, the jpeg does display.
These are the errors I'm getting. I have no idea what any of this means though!
app.js?t=1564176497041:1 Uncaught TypeError: Cannot read property 'indexOf' of null
at m.SOCKET_ONMESSAGE (app.js?t=1564176497041:1)
at chunk-vendors.js?t=1564176497041:13
at chunk-vendors.js?t=1564176497041:13
at Array.forEach (<anonymous>)
at chunk-vendors.js?t=1564176497041:13
at m._withCommit (chunk-vendors.js?t=1564176497041:13)
at m.commit (chunk-vendors.js?t=1564176497041:13)
at m.commit (chunk-vendors.js?t=1564176497041:13)
at t.value (chunk-vendors.js?t=1564176497041:18)
at t.value (chunk-vendors.js?t=1564176497041:18)
Without any context of what you were doing when that error occurred, its impossible to tell.
There should be other warnings or errors for the camera URL. This error is not related to that, but something else, typically it looks like something odd was sent in your event websocket.
What hub platform version are you running and is this a cloud or local dashboard that threw this error?