Repository navigation
npm: SSL error on v2.2.0 #1850
Description
Activity
Error is generated by the request module, here: https://github.com/request/request/blob/04bcd915dff978bd4874faafdf5567abe9230636/request.js#L1067
+1 this also breaks my io.js tests on travis https://travis-ci.org/FredrikNoren/ungit/jobs/64777573
this broke the
response.hasOwnProperty('client')check from requestthere was no CI run for #1829 :(
probably wouldn't have helped, we're still shaving the
test-npmyak, /cc @fishrosk123/cc @Fishrock123
- changed the title
[-]npm (v2.2.0): SSL error on Windows[/-][+]npm: SSL error on v2.2.0[/+]on May 31, 2015 +1, broke my IO.js tests on Travis CI.
+1, my tests on travis with io.js are also broken
- added a commit that references this issue
on May 31, 2015 @rvagg Just installed iojs 2.2.0 on mac osx and the same bug is affecting me.
+1 Same error here on arch linux
20 remaining items
- addedhttpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.and removedtlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
on May 31, 2015 - added a commit that references this issue
on May 31, 2015 - added a commit that references this issue
on May 31, 2015 Fix has landed in 4d6b768. Let's hope one of the release guys is up for a quick patch release.
Request's response.hasOwnProperty('client') check does not see it because it is a getter/setter.
A {g,s}etter would have been okay – the problem is that the property was set on the prototype instead of the instance.
A {g,s}etter would have been okay – the problem is that the property was set on the prototype instead of the instance.
Yes, I think we should do a static analysis and reconsider deprecating in the future.
It's amusing to see so many people's tests failing on Travis CI because of this issue, mainly because many, many module are only specifying
iojsfornvmto install, which is simply asking for a lot of pain.@dougwilson still lesser pain than to update travis.yml manually with each new io.js release. I for one will not bother to specify an io.js version in my travis.yml, because I think that this situation will not repeat again.
2.2.1 is out, fixing this. Get it while it's hot!
How can I update npm if when I run
npm update npm -g --forceit fails because of this bug?@sbrl you need to update io.js itself to
v2.2.1- you can't fix it withnpm. alsonpm install -g npm@latestto updatenpm.@ljharb Thanks, that fixed it :)
- added a commit that references this issue
on Jun 3, 2015
Attempting to install a module with npm fails with the following error:
SSL Error: https://registry.npmjs.org/test does not support SSL.Reproduced on Windows 8.1 x64 and Windows 10 x64.
The error only happens for modules that were never installed on the machine. My guess is that npm uses the local cache for known modules.