Client closed connection unexpectedly


I'm new to websockets and Repetier, and I managed to get stuck in the connection making phase. Please help!

Relevant javacode is:
var WebSocket = WebSocket;
var serverUrl = "ws://localhost:3344/socket/?lang=en";
connection = new WebSocket(serverUrl);

On firefox console I get:
The connection to ws://localhost:3344/socket/?lang=en was interrupted while the page was loading.

On Chromium console:
WebSocket connection to 'ws://localhost:3344/socket/?lang=en' failed: One or more reserved bits are on: reserved1 = 1, reserved2 = 0, reserved3 = 1

And the Repetier server log says Client closed connection unexpectedly


Sign In or Register to comment.