tlaverdure / laravel-echo-server

Socket.io server for Laravel Echo
MIT License
2.65k stars 511 forks source link

SSL Handshake Error #570

Open altugyavuz opened 3 years ago

altugyavuz commented 3 years ago

I just wanted to share a problem and a solution I was experiencing.

We used the laravel-echo-server package in our project, which has been in production for a long time, and everything was working perfectly (About 2 years ago).

During some checks about the project last week; Every time the system made a request to port 6001, it received the error ERR_SSL_VERSION_OR_CIPHER_MISMATCH. At first, I thought there was a problem with SSL or nginx configurations and performed some operations on it. However, it did not work. I also tried other current and outdated versions of Laravel Echo Server but it still didn't work.

Our project was established in Digitalocean through Laravel Forge. Nodejs v8.14 was installed with Laravel Echo Server 1.5.0 and as I said, we have used it for a long time without any problems.

I was only able to solve this situation after I updated it to Nodejs v12 and Laravel Echo Server v1.6.2.

I'm not sure, but maybe the system requirements might need to be updated.

Maybe

Hope it helps.

DeanWronowski commented 2 years ago

I had the exact same issue, with it been running for a few years. I also upgraded NodeJs to v17 from v8 and now its all working again. Thanks :)