NativeWebSocket icon indicating copy to clipboard operation
NativeWebSocket copied to clipboard

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

Open Hugosabb opened this issue 2 years ago • 3 comments

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!

Hugosabb avatar Jun 02 '23 13:06 Hugosabb

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

endel avatar Jun 02 '23 13:06 endel

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

Hugosabb avatar Jun 05 '23 08:06 Hugosabb

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

bentallerscopely avatar Jul 07 '23 22:07 bentallerscopely