Use wss return Error during WebSocket handshake: Unexpected response code: 200

I want use wss to link with rasa socket services ,I choose nginx and set proxy_pass http://127.0.0.1:5005; when i test with the code after var ws = new WebSocket("wss://bot.xxx.com"); return Error during WebSocket handshake: Unexpected response code: 200

look forward to your reply,thx

Hi @chriswangweb. Why do you want to use wss to link with rasa socket services? What were you expecting when you tested the code?

hey @chriswangweb i am also getting the same problem. did you get the fix ?

1 Like