NativeWebSocket icon indicating copy to clipboard operation
NativeWebSocket copied to clipboard

Can't establish connection using oculus quest 2.

Open papdimitr opened this issue 2 years ago • 2 comments

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!

papdimitr avatar May 26 '23 13:05 papdimitr

Hi @papdimitr,

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

  • https://github.com/endel/NativeWebSocket/issues/20#issuecomment-856955038
  • https://github.com/endel/NativeWebSocket/issues/20#issuecomment-975018938

endel avatar May 26 '23 13:05 endel

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

papdimitr avatar May 26 '23 14:05 papdimitr