Closed zicklag closed 3 years ago
I get this error too.
Did you ever figure it out?
I'll try it again soon, I think that may have been fixed, but I ran into another issue: https://github.com/denoland/deno/issues/6502. That issue appears to be caused by https://github.com/seanmonstar/reqwest/issues/992 which sounds like an easy fix.
I'm still getting the same error with the same steps to reproduce. I'm not sure if it is related to https://github.com/seanmonstar/reqwest/issues/992 yet.
I am unsure why explicitly setting the DENO_CERT fails, but I have verified that by switching the features of reqwest
to use the default-tls
instead of rustls-tls
everything works fine. I'm very glad that I have a way to build it now, I've wanted to try Deno for months!
Anyway, I guess that still leaves this issue at the point where we need to fix the RusTLS backend to use the cert when provided, but building with the different parameters fixes it for me for now.
In 1.13 we added DENO_TLS_CA_STORE env variable as well as --unsafely-ignore-certificate-errors which should resolve this issue (https://deno.com/blog/v1.13). I'm going to tentatively close it as fixed, please let me know if that still doesn't work.
I found out that my TLS issues seemed to be related to my proxy server not supporting the higher security ciphers required by rustls, and that it isn't specific to Deno, so this should be totally fine on Deno's end.
Switching the reqwest
TLS backend does work, for anybody else who runs into my situation.
I'm behind an HTTP proxy with authentication and a custom certificate, but I'm getting an undescribed
HandshakeFailure
when trying to run hello world:I have my
HTTP_PROXY
andHTTPS_PROXY
environment variables set like so:Is there any way to get more info on what is actually failing? This happens with any deno command that tries to access the internet.