AWS websocket and cloudfront: WebSocket handshake: Unexpected response code: 426

Viewed 839

I am trying to integrate cloudfront in front of apigateway websocket. But when i try to connect my Client (HTML5) in the console im getting this error WebSocket handshake: Unexpected response code: 426

In client I simply calling var ws = new WebSocket("wss://<id>.cloudfront.net");

What could be my misconfiguration?

Thank you

0 Answers
Related