Websocket deployement SSL error


#1

Hi,

I developped an websocket app on my dev machine, and it works well. I made two usage of my websocket, I’ve got a web-browser client which will be notify by new message sent by the cli client. My server is working on HTTPS protocol fore the web-browser part, so it require the wss:// protocol for the socket. When I did it, I’ve got the following error when I try to send a message through my cli client :

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure in /…/vendor/hoa/socket/Connection/Connection.php on line 497

Someone can help me to resolve this mistake please?


#2

Hello,

Maybe it’s related to an issue with TLS : https://github.com/hoaproject/Websocket/issues/77

You can check the “Best Practice Advice” here : https://github.com/hoaproject/Websocket/issues/89#issuecomment-285651263

If it’s not related, can you give us more details about your implementation ?