WEbSocket is closed before the connection is established



Hey, since today my socket connection (client to server - nodejs - socket.io) stopped working.
It says at first “400 Bad Request” , then “WebSocket connection to ‘’ failed: WebSocket is closed before the connection is established.”, then its connecting and disconnecting again…

This never happend before and everything worked fine for me.

Any ideas what it could be?

var socket = io.connect(‘http://xyz.xyu.c9users.io:8082’);


var io = require(‘socket.io’).listen(Number(process.env.PORT) + 2);

//E: its working again, weird c9 bug :confused: