@julian Thanks for response and sorry for delay on my part as I was down!
I notice that while connecting to the websocket, browser requests with URL like below -
The last portion of the URL, i.e, “GQlkcIbCyFu8a5C_tNyL” changes to some different value in times and is not static throughout the browser session.
If I try to connect to the socket without this token, i.e, “ws://<IP address>:4567/socket.io/1/websocket”, I am not able to connect to it. It requires the last part as well. I am not sure how this token is generated or how to fetch this token before starting the socket connection.
If I try chrome websocket plugin to test connection, I always get handshake error “7:::1+0” if I do not use this token, otherwise able to connect to it with token copy pasted from browser dev eloper tools.
Thanks for your guidance in advance!