-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
"Non-websocket request" in Unity #143
Comments
Did you ever get further on this? I found an issue, but I'm also stuck on this. In WatsonWsServer.AcceptConnections, there's the following check: This always returns false. I changed it to the following: I now get past the HTTP check. Unforunately, it's now failing when trying to accept the web socket I'm currently using a C library (wrapped in C#) and I'm trying to switch to this library. I'm using the same javascript/websocket code for both. My C library accepts connections, while this library doesn't. I'm kinda stuck too. |
Hello,
I want to implement a websocket server in unity with watson websocket. For this I built watson websocket for .Net Standard 2.1 and imported the dll to unity. Starting the websocket seems to work but as soon as I try to connect with a simple javascript client it says
non-websocket request
.Server:
Output when connecting:
I tried the
test.server
project and it worked. So this seems to be a unity related problem. Maybe somebody had similar experiences and found a solution.The text was updated successfully, but these errors were encountered: