-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
SSL/TLS related socket errors #522
Comments
Because Node does not handle an error from OpenSSL correctly, this message is not helpful. |
Applied the patch to node, error is:
|
I should note that I've tried reverting to older versions of node, as well as socket.io with no difference. Additionally, there was no change (that we're aware of) in our platform before this started. I've also verified all our certs, and there's nothing funny going on there. |
So, from what I understand of that error message, the client is making a plain HTTP request when it should be making an HTTPS request. I can confirm (via inspector) that the socket.io client correctly has the |
It may be related to nodejs/node-v0.x-archive#1719. |
Closing this as it's not something that Socket.IO can fix. (if it is, give me a poke and i'll re-open <3) |
Agreed. It wasn't a socket.io issue. |
Because WebPack does not support variables in require statements. Closes #522
Over the last couple days, we've been experiencing consistent errors in server <-> client communication. I'm not familiar enough with the intricacies of how the SSL handshake process works over websockets to be able to tell exactly what's going on here, but here's the two errors I often see caught by socket.io:
I may be wrong, but it seems like these almost always happen after the server tries to write down the connection to the client.
Environment details:
Ubuntu hardy 8.04 LTS (with sec updates)
Socket.io 0.8.4 (typically use a forked version [no changes at this point] of the repo as a submodule of the project, however I did try using the
npm
version with the exact same results.)$ node -v v0.4.11
$ openssl version OpenSSL 0.9.8g 19 Oct 2007
If there's any other details that would be helpful, please let me know.
The text was updated successfully, but these errors were encountered: