-
-
Notifications
You must be signed in to change notification settings - Fork 957
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
Upgrading from got 9.2.2 to 9.3.0 causes SSL error #850
Comments
Seems to be related to proxy, see: |
@Siilwyn this is not possible as Got doesn't operate low level. It must be Node. |
@sindresorhus I am not using a proxy. Since the requests are to @szmarczak I had the same idea but since the issue is consistent on Thanks for the fast responses! |
I just got this error with version 9.6.0 . After searching I found this ticket - nodejs/node#16196 - I had explicitly set the "ciphers" and "minDHSize" options for the HTTPS Agent. After removing those values the requests worked. You could also try setting In short it's likely an underlying change in your dest server or some other parameter, rather than got. |
I don't see any way it can be a change in the destination server since I completely control the server and it is running locally, see the linked repository (the tests also run the server automatically). If you can think of a way that updating the Edit: as a sanity check I also ran this through the CI, same result. Here's the PR: Siilwyn/cheers-receiver#22 |
Just got reminded of this issue again because of a dependency update service opening this PR to upgrade |
Your server doesn't support HTTPS and you have NOT specified the protocol, so by default it's The documentation says clearly:
In the next upcoming release it will throw an error if you specify no protocol. |
That makes sense, specifying the protocol fixes the issue. Thanks for the reply! This change should have been a major semver version bump because it changes the default option value, even though it was unwanted/invalid behavior. Please consider this the next time a similar issue is fixed. |
Anyway, you could've saved us some time by knowing your code. If you don't use HTTPS, then how is it possible to see some SSL error? Investigate, don't wait until open source people review your code for you :P It took me <10 mins to get to the cause. |
Just ran into this on version 9.6.0 trying to hit an HTTP endpoint with a
Changing the proxy to |
@tobiasmuehl did you find the root cause of that issue? |
|
write EPROTO 22776:error:14094458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name:c:544:SSL alert number 112 |
I am getting this error. |
Describe the bug
I'm using
got
as a dependency at https://github.com/Siilwyn/cheers-receiver/ and I'm trying to upgradegot
to its latest version, however from 9.3.0 and upward when I runnpm test
I get the followingGotError
:Actual behavior
Error thrown.
Expected behavior
No breaking change, tests pass.
Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: