ClusterWS-Client-JS icon indicating copy to clipboard operation
ClusterWS-Client-JS copied to clipboard

Problem with TLS Cert

Open carmas123 opened this issue 6 years ago • 5 comments

Submitting

  • [ ] Bug
  • [X] Question
  • [ ] Suggetion
  • [ ] Other

hi, I've a problem when use ClusterWS in secure mode. I've a NodeJS server with ClusterWS that handle the Ws request and on it I configure my cert but when I try to connect from client I got always this error: failed: Error during WebSocket handshake: net::ERR_SSL_PROTOCOL_ERROR

carmas123 avatar Jul 25 '18 17:07 carmas123

I believe it is a problem with uws module on the server it seems like it does not work with latest versions of node js. i was planning to change the driver to be able to run on node js 10 and 9 properly. Check this issue for more information https://github.com/ClusterWS/ClusterWS/issues/94

goriunov avatar Jul 25 '18 20:07 goriunov

Mmm....this is a very big problem for me :( I've based my app on ClusterWS and after development I found this problem for production ready...I'm very frustrated...however thanks for your reply...

carmas123 avatar Jul 25 '18 22:07 carmas123

You can use it for now in node 8.11 it is LTS version hopefully new uws version should fix it also i am looking in to adding param from driver so you will be bale to replace uws with ws if needed. Unfortunately it is problem with uws which i also dont like, developer now is working on version 0.15 (not sure when he will be able to release it).

goriunov avatar Jul 25 '18 23:07 goriunov

Ok I try it, thank you

carmas123 avatar Jul 26 '18 06:07 carmas123

Hopefully should be resolved in version 4.0 (not sure 100%)

goriunov avatar Oct 18 '18 10:10 goriunov