-
Notifications
You must be signed in to change notification settings - Fork 230
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 error when creating connection with [email protected] #550
Comments
Using >= instead of default ^ in the package.json file is causing the problem. A major version of ws module is getting installed, and it is breaking the autobahn module. |
I see. You are supporting from ws v1.0. |
Can you put an upper limit to the dependency module versions so that they don't break autobahn in future. |
ws@8 contains breaking changes - crossbario#550
Hello, everyone! Are there any good news on this issue? :) |
I used the |
I'm not sure what the state of this issue is, but I tested with I removed the join statement to pass an array and it's working beautifully now. Does it make sense to migrate to v8 and remove that? |
@oberstet |
@oberstet I would suggest to also update the README, as it can be misleading for newbies. Initially I thought it supported up to version 2, we can probably get rid of the comment for Node V4.5.0 (I guess no one has been using that for years). |
The
8.0.0
version ofws
introduced some breaking changes around protocols. Attempting to create a connection with this version yields the following error.Rolling back to
7.5.3
makes the issue go away.The text was updated successfully, but these errors were encountered: