-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
socket hang up on https request #9845
Comments
We're having the same problem with various sites, .e.g. https://applications.bmi.com/Security/Login.aspx Every site we're having a problem with, including the site mentioned by OP, is served by Microsoft IIS. |
Adding |
Can confirm adding |
CBC ciphers are considered insecure. There isn't really any way for node.js to provide a better error message because the server simply terminates the connection instead of sending back a 'no suitable cipher' alert. I'll go ahead and close the issue but feel free to ask follow-up questions. |
I think if browser loads some page without complaints, node.js should too. If major browsers start rejecting CBC ciphers or marking them as insecure, node.js should too. Thats my opinion. |
The current default cipher list came about after ample discussion. We want node.js to be secure by default so you should expect it to become even stricter over time, not looser. It's not a browser, it targets a different demographic than browsers do (users vs. programmers), so comparing them is not meaningful, IMO. |
Aside: you might be interested to know that while Chrome doesn't reject the connection outright, it does complain:
"Obsolete" is Chrome lingo for "on the chopping block and to be killed off when usage drops below a threshold." |
ciphers: 'DES-CBC3-SHA' did fixed the problem. But thats strange why is it not adding that header in tls by default |
Because DES-CBC3-SHA is an insecure cipher. |
This code is giving me socket hang up error:
I traced it down to the tls module, this code still throws socket hang up error:
Ending the socket or not doesn't make difference. Opening the site in browser works fine, even wget and curl does.
Other sites are fine, just this one.
The text was updated successfully, but these errors were encountered: