reqwest icon indicating copy to clipboard operation
reqwest copied to clipboard

rustup download times out when running in Wine

Open djc opened this issue 1 year ago • 2 comments

Original issue: https://github.com/rust-lang/rustup/issues/3689.

rustup has two download backends, one based on curl and one based on reqwest:

https://github.com/rust-lang/rustup/blob/master/download/src/lib.rs

(Right now, the curl-based backend is the default. We'd like to switch that to rustls in the future.)

djc avatar Mar 06 '24 13:03 djc

When connecting to static.rust-lang.org I just get the Headers printed in the simple example.

There is also a different issue I noticed with Wine and their PKI (OS Error -2146762482 / 0x800B010E); google.com on the other hand just works fine.

valaphee avatar May 21 '24 22:05 valaphee

Commenting Cryptography::CertVerifyCertificateChainPolicy out in schannel-rs seems to get it working. The error code means: The revocation process could not continue - the certificate(s) could not be checked.

valaphee avatar May 22 '24 16:05 valaphee