I get an error when trying to open a websocket connection. Uncaught Error: Uncaught, unspecified 'error' event.