Skip to content
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

Subprotocol #37

Open
dweberlj opened this issue Sep 4, 2015 · 2 comments
Open

Subprotocol #37

dweberlj opened this issue Sep 4, 2015 · 2 comments

Comments

@dweberlj
Copy link

dweberlj commented Sep 4, 2015

I am using WebSocket4Net as a client to a nodejs server. I am getting an exception in my .NET app "subprotocol doesn't match". In node, I am using nodejs-websocket.

Any help would be greatly appreciated.
Thanks

@kerryjiang
Copy link
Owner

Which constructor of websocket are you using?

@osakishore
Copy link

osakishore commented Jun 16, 2021

I am trying use this library from dotnet core console app.
I am getting "subprotocol doesn't match", if i tried to add multiple subprotocols.
WebSocket ws = new WebSocket(wsurl, subProtocol:"abc.v1.ca, abc.v2.ca")

In this case I'm getting below error.

subprotocol doesn't match
Websocket is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants