AppVeyor builds failing today

Hi all,

Today, I saw my AppVeyor builds fail with this message

rustup-init.exe -y --default-toolchain stable
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to 'C:\Users\appveyor\.rustup\tmp\tulghiwelxl6c099_file'
info: caused by: error during download
info: caused by: [35] SSL connect error (schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.)

(full build log)

The command was simply supposed to install the stable Rust compiler.

Has anybody else seen this? I believe something changed outside my project — perhaps in AppVeyor, perhaps elsewhere.

1 Like

I also have this problem - both with my Rust projects (see here) and the ones I contribute to (here's an example of a pull-request build for the num_cpus crate, which fails).

It seems it might be some problem related to the static.rust-lang.org site.

This is a known problem, even if the exact cause hasn't yet been determined. See https://github.com/rust-lang-nursery/rand/commit/bb78689 for the temporary fix, and https://twitter.com/RustStatus will continue updating as we know more information.

5 Likes

Hi Mark, thanks very much for the helpful links! Especially the first which shows that adding

environment:
  RUSTUP_USE_HYPER: 1
  CARGO_HTTP_CHECK_REVOKE: false

to your AppVeyor config file will work around the problem by disabling SSL revocation list checking for rustup.

Add the following to the appveyor yml file to workaround their firewall issue and everything should work.

init:
  - ps: Disable-NetFirewallRule -DisplayName 'Core Networking - Group Policy (LSASS-Out)'