It does!
+1 for music choice ![]()
Iāve just added WebSocket support in the test version, can you try it again with this version?
Can you try again with the new test version?
Still no luck. Same message
How did you build the dashboard? I installed Node-RED on a Raspberry Pi but I canāt see where you can open the dashboard UI
Long time ago, but got the info here back then:
There is a video in the first post to set up the dashboard ui
I was able to reproduce the issue, it appears that my proxy app doesnāt intercept the SocketIO requests correctly. Probably itās in the domain check (which checks if the URL needs to be rewritten) which interprets socket.io as the root domain, while itās just a URL on the IP of the Node-RED server.
I also see another issue with an HTML file, but Iām not sure if thatās intended behaviour. I will need to check that.
I will fix the issue but it might take some time because I have to check how the dashboard loads the HTML files
Would be great if you can fix it!
I was able to fix the URL part of it, but it looks like SocketIO is very different from regular WS. It first attempts polling but that doesnāt work. Itās likely because my web request proxy function just returns the data it receives on the web request and then closes the connection, while polling needs to send realtime data.
The WS upgrade feature of SocketIO is also not working, it looks like the connection is being closed too quickly. I donāt know if thereās a solution for that, I would have to do some more debugging on why it closes the connection. It might be because thereās simply too much latency in between the connection request and the authentication WS message, but I have to check that.
I did some more testing and it appears that the web page requests the connection to be closed before itās established
I donāt know why the page doesnāt wait for the connection to be established, maybe it takes too long with the proxy inbetween.
While I probably canāt get the WS proxy to work with this page, I can try to write a function to handle the long polling that SocketIO also supports.
Hope that will be the solution, otherwise i will have to live with itš. Thanks for all the work you put into it.





