-
Notifications
You must be signed in to change notification settings - Fork 570
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
engine.io-client 1.6.9 makes node.js socketio calls hang #396
Comments
It's not uncommon that upstream authors forget to |
Are you using certificates ? |
Yes I am using certificates. I'm using sails.js on the server and mocha with socket.io-client for the unit tests. |
That's the only change between 1.6.8 and 1.6.9. The server version bump is a dull. The client changes only that behavior. It should have been a minor version bump at least... |
Thank you for your response! I'm using the |
Usually you can pass options, please see that with sails.io.js. |
balderdashy/sails.io.js#103 fixes the issue for me, along with setting the connection option before sails initiates the socket connection. |
Closing, as this is now fixed in sails.io.js. |
Switched xmlhttprequest dependency to a versioned one
package: remove 'xmlhttprequest' dep to restore fix from #396
This is related to socketio/socket.io-client#969
Again, not sure why the npm package is 1.6.9 while the source code here is only at version 1.6.8
I traced the problem down to the engine.io-client 1.6.9 update in the socket.io-client update.
After
npm install --save socket.io-client
I changed thepackage.json
reference to be for1.6.8
:And now my tests work:
Changing it back to 1.6.9, here is what happens:
The text was updated successfully, but these errors were encountered: