Skip to content

corporate firewalls interfere with downloads #3134

Open
@gakadam

Description

@gakadam

Problem

Rustup toolchain install fails on WIN10. Log:

> rustup toolchain install nightly
info: syncing channel updates for 'nightly-x86_64-pc-windows-gnu'
750.8 KiB / 750.8 KiB (100 %) 416.0 KiB/s in  1s ETA:  0s
info: latest update on 2023-01-05, rust version 1.68.0-nightly (659e169d3 2023-01-04)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: retrying download for 'https://static.rust-lang.org/dist/2023-01-05/rust-docs-nightly-x86_64-pc-windows-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2023-01-05/rust-docs-nightly-x86_64-pc-windows-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2023-01-05/rust-docs-nightly-x86_64-pc-windows-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2023-01-05/rust-docs-nightly-x86_64-pc-windows-gnu.tar.xz'
error: component download failed for rust-docs-x86_64-pc-windows-gnu: could not download file from 'https://static.rust-lang.org/dist/2023-01-05/rust-docs-nightly-x86_64-pc-windows-gnu.tar.xz' to 'C:\XXXX\rustup\.rustup\downloads\d58a2e4217d7d9feca7423179e3090ff12bc5ca7423179e3090ff12bc52ec2fae8f216e32acb841f286b4.partial'


> rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-pc-windows-gnu'
info: latest update on 2022-12-15, rust version 1.66.0 (69f9c33d7 2022-12-12)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: retrying download for 'https://static.rust-lang.org/dist/2022-12-15/rust-docs-1.66.0-x86_64-pc-windows-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2022-12-15/rust-docs-1.66.0-x86_64-pc-windows-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2022-12-15/rust-docs-1.66.0-x86_64-pc-windows-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2022-12-15/rust-docs-1.66.0-x86_64-pc-windows-gnu.tar.xz'
error: component download failed for rust-docs-x86_64-pc-windows-gnu: could not download file from 'https://static.rust-lang.org/dist/2022-12-15/rust-docs-1.66.0-x86_64-pc-windows-gnu.tar.xz' to 'C:\XXXX\rustup\.rustup\downloads\093257159ba394c5306474373475d0a78031d7691e6c0fb1834503eb4790ceae.partial'

Steps

  1. execute rustup toolchain install stable

Possible Solution(s)

No response

Notes

No response

Rustup version

rustup 1.25.1 (bb60b1e89 2022-07-12)

Installed toolchains

None

NOTE:

On the same machine, rustup 1.25.1 works in wsl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions