Secure connection closing immediately

Aug 4, 2015 at 3:18 PM

at first I thought there was a problem in my own program, so I went back to the basics, the example files and used "C-StartByConfig".

When I run the example server and test it with the provided HTML page in Chrome, I can connect to the server. But, when I alter this line in the HTML page
ws = new window[support]('ws://localhost:2012/');
ws = new window[support]('wss://localhost:2013/');

The connection is closed immediately.

After some googling I found this: and added your localhost certificate to the "current user" and "Local Computer"


But still the wss connection cannot be established. I only get:
  • Connecting to server
  • Connection closed
and no errors in the c# code.
Any suggestions?

Kind regards and thanks for the websockets,

Aug 4, 2015 at 4:47 PM
Did you setup the server support the secure websocket connection?
Aug 4, 2015 at 8:23 PM

I did a retry and did every step again as described above. Seems to be working now. Guess I mist one step or didn't save something correct before.