endel / NativeWebSocket

🔌 WebSocket client for Unity - with no external dependencies (WebGL, Native, Android, iOS, UWP)
Other
1.27k stars 160 forks source link

"Unable to connect to the remote server" from Android with wss connection #83

Open Hugosabb opened 1 year ago

Hugosabb commented 1 year ago

Hello ! Thanks for this great github repository, the project works well in wss with Windows and WebGl but not with Android. It works in ws with Android, but in wss I get the error: "Unable to connect to the remote server" from the client. The server receives a connection request but does not return any error messages. I'm using Unity2022.1, have you ever encountered this problem? Thanks in advance for your help!

endel commented 1 year ago

Hi @Hugosabb, please check here https://github.com/endel/NativeWebSocket/issues/81#issuecomment-1564436693

Hugosabb commented 1 year ago

Indeed, I had to use the fullchain.pem instead of the certificate, thank you very much!

bentallerscopely commented 1 year ago

How did you get and use the certificate? Where did it come from?