-
Notifications
You must be signed in to change notification settings - Fork 284
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
The https.request() make error 'ERR_SSL_UNSUPPORTED_PROTOCOL' with Node V12.2.0 #1936
Comments
Your difference in behaviour is probably related to the new default support for TLS 1.3, but also disables TLS 1.0 support at Node 12. That is, if your client and server are not able to agree a protocol and cipher suite in common, then this would be consistent with |
thank you so much. i got it! |
answered, closing |
might help |
To change the TLS min version during runtime, you can do:
|
Thanks, this works for me ! You saved my day :) I just had the same issue with Node v12.13.1 and the Fetch API (using the node-fetch module). See error stack below:
Simply adding |
Thanks a lot,This works for me too. |
Thanks a lot |
Thank you |
/c/tools/node/node-v12.2.0-win-x64/node app.js
I use request method of module
https
, and sometimes make error, but not always. The code like this:make error:
But, I ues Node Version v10.15.0, everything is OK. I do not know why, and how to run it in the version v12.2.0.
Thanks very much!
The text was updated successfully, but these errors were encountered: