endel / NativeWebSocket

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

Can't establish connection using oculus quest 2. #81

Open papdimitr opened 1 year ago

papdimitr commented 1 year ago

Hello. I have developed a Unity app for oculus quest 2, which implements this websocket library and establishes a connection with a remote server. At first the connection was established normally and the communication was without a problem.

After a year of usage the connection can't be made anymore (it closes the moment it tries to open). This problem is noticed only in the built version (apk) when it runs in oculus. When running in Unity editor, the connection is working as expected.= In the meantime there hasn't been any change neither at the remote server not the unity client.

Thanks in advance!

endel commented 1 year ago

Hi @papdimitr,

There are some similar reports to yours and possible solutions, such as:

papdimitr commented 1 year ago

Good news. The problem was with the certificates. The solution was exactly this --> https://github.com/endel/NativeWebSocket/issues/20#issuecomment-856955038