Websocket Server Wont Start

April 6, 2016 2k views
PHP LAMP Stack Apache Nginx Ubuntu 16.04

Hi, there I've developed an application that relies on WebSockets. The system worked perfectly on my localhost server but I've uploaded it to my live server and now it won't work. My server is a secure HTTPS server so it use secure SSL. But for some reason I keep getting the following error in the console for developer in google chrome:

WebSocket connection to 'wss://' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

I'm using Ratchet framework for PHP also to start and control my connection with php.
So is it something with my ports or is it something with my SSL certificate?? I really don't understand why my web sockets server won't start. Please help me!

1 comment
Be the first one to answer this question.