WebSocket connection Failed after updating version of chrome

Hi my chrome version is 59.0.3071.115 (Official Build) (64-bit) after updating chrome i am facing the error
"WebSocket connection to ‘wss://50.30.43.186:8080/socket.io/?EIO=3&transport=websocket’ failed: Error in connection establishment: net::ERR_INSECURE_RESPONSE" Can anyone help me here i am stuck ?

Looks like a mixed mode situation or wrong configuration. Are you using a secure connection with a correctly set-up server (DNS entries, certificates, and all the stuff)? If not, then try another port and a certificate from an authority that Chrome recognises.

By the way, I do not think that using 8080 for a secured connection is a good idea. Normally 8080 is considered to be an alternative to 80. But of course you can use 80 and 8080 for secure connections if you want. But using ports in an unconventional way may cause surprising results with many common programs.

do you have a self signed certificate? in this case you have to go to https://50.30.43.186:8080/socket.io/ and accept the certificate. should not happen in production with a valid certificate for the domain

Hi there thanks for your reply yes it is now working plus please guide me which ports should i use in order to make it secure?

Hi @dn8034. For secure connections the normal ports are 443 (this is the default) and 8443 (alternative to 443). It is quite common that both 443 and 8443 are open in firewalls.

I would recommend that you use 443 for normal https (web pages etc) and 8443 for secure socket.io (wss).