-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem connecting to websocket server on local network wit an external ip 192.168.0.xx #72
Comments
I used a debugger to figure out some more context, which I detail below.
Stack Trace
Config that does not workConfig that works |
Does it work if you try with
|
unfortunately the web socket server I am accessing is a propriety application running on my local raspberry pi. just for info, its the emotiv cortex brain machine interface api. It only uses |
Do you think it could be related to certificate parsing in the websocket library? In Unity, when I run I have a self-signed cert for Perhaps I need to create self signed cert for the ip |
I created a self signed cert on my local machine for this service but to no avail. |
PROBLEM
Im trying to connect to a websocket server hosted on my lan at
wss://192.168.0.42:6868
. It doesn't require authorization.The websocket client fails the TLS handshake if i use an external ip like
wss://192.168.0.xxx:6868
but it works fine if i usewss://localhost:6868
DETAILS
I can connect via the the TUI app wscat, but when I try to connect via the Unity editor I get the following error:
Ideally I'd like to connect to the same local web socketserver over the local network on the Unity editor, and via a compiled device in VR.
The text was updated successfully, but these errors were encountered: