I'm getting the following error when trying to update the data using websocket using your example:
Error during WebSocket handshake: Unexpected response code: 400
Channels feature was added properly to the webapi installation.
I worked witht his example:
I Tried the following with same results:
- My Node.js + WebSocket program
- websocket.org - Powered by Kaazing
- Testing from the same pi server machine
- Allowing Anonymous login
- WebAPI 2015 R3 and WebAPI 2016 SP1
It seems to be happening after the authorization is approved.
I'm testing using the following webapi settings to avoid issues:
Appreciate your help.
Thanks a lot.