Error during WebSocket handshake: Unexpected response code: 501

Hi,

I am trying to connect 32bit kdb+ to websockets on ubuntu 64 bit.

It is working with v3.6 2018.05.17 using the example here: https://github.com/kxcontrib/websocket/blob/master/AppendixA/SimpleDemo.html

However, using the latest binary - v3.6 2019.04.02 I am getting the response:
“Error during WebSocket handshake: Unexpected response code: 501”

Has something changed between these versions regarding websockets to cause this issue?

Cheers,

Tom

asof v3.6

2018.10.23

only accept a websocket connection if .z.ws is defined, otherwise return HTTP 501 code.

do you have .z.ws defined?

You’re right, I was testing the connection by just defining .z.wo
Thanks for the help!

Cheers,

Tom