ratchetphp / Ratchet

Asynchronous WebSocket server
http://socketo.me
MIT License
6.29k stars 748 forks source link

WebSocket connection to failed on SSL #905

Open alexolliveira opened 3 years ago

alexolliveira commented 3 years ago

Hello for everyone. Even using 0.0.0.0, even using wss://, the websocket shows me a error:' WebSocket connection to 'wss://0.0.0.0:8081/' failed. Error on line on Autobahn.js: self._websocket = new WebSocket(self._wsuri, [ab._subprotocol]); Help me please.

david-marweblous commented 2 years ago

1-Make sure the port in is open 2- Add your app to the proxy pass 3- might also have to add the location of your SSL certificates to your server.php