Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

SSL Issue with Typings install #635

Closed
sahlouls opened this issue Jul 19, 2016 · 8 comments
Closed

SSL Issue with Typings install #635

sahlouls opened this issue Jul 19, 2016 · 8 comments

Comments

@sahlouls
Copy link

sahlouls commented Jul 19, 2016

Hi,

I'm facing an issue with typings install, see below details

npm --version
3.8.9

node --version
v6.2.0

typings -v
1.3.1

typings install
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/jasmine/tags/2.2.0%2B20160621224255"
typings ERR! caused by write EPROTO 101057795:error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error:openssl\ssl\s23_clnt.c:769:
typings ERR! caused by

typings ERR! cwd d:\repos\gatekeepergui
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "D:\dev\nodejs\node.exe" "C:\Users\ssahloul\AppData\Roaming\npm\node_modules\typings\dist\bin.js" "install"
typings ERR! node -v v6.2.0
typings ERR! typings -v 1.3.1
typings ERR! code EUNAVAILABLE

typings ERR! If you need help, you may report this error at:
typings ERR! https://github.com/typings/typings/issues

@blakeembrey
Copy link
Member

Seems like jspm/github#59 is the same issue, you could probably check it out for support.

@sahlouls
Copy link
Author

Seems there is a workaround. But issue with SSL still there

registryURL=http://api.typings.org/
rejectUnauthorized=false

@blakeembrey
Copy link
Member

@sahlouls Are you behind a proxy? I don't believe this is caused by Typings, but it's from your proxy.

@sahlouls
Copy link
Author

@blakeembrey Yes, I'm behind a proxy. Is it the reason ?

@blakeembrey
Copy link
Member

I think so, yes. Is it possible the proxy doesn't support SSL? The issue I pointed to seemed to say that, but I can't replicate it myself to give you a definitive answer, sorry.

@sahlouls
Copy link
Author

In that case, a clear message about the cause is a welcome.

@blakeembrey
Copy link
Member

Is that the cause?

@sahlouls
Copy link
Author

Just checked, not behind a proxy and works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants