You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to 1.28 I got an operation timed out when installing a toolchain
info: syncing channel updates for '1.85-x86_64-unknown-linux-gnu'
info: latest update on 2025-02-20, rust version 1.85.0 (4d91de4e4 2025-02-17)
info: downloading component 'cargo'
8.7 MiB / 8.7 MiB (100 %) 944.0 KiB/s in 11s
info: downloading component 'clippy'
2.8 MiB / 2.8 MiB (100 %) 974.7 KiB/s in 3s
info: downloading component 'rust-std' for 'aarch64-apple-darwin'
24.3 MiB / 24.3 MiB (100 %) 827.8 KiB/s in 27s
info: downloading component 'rust-std' for 'wasm32-wasip1'
20.4 MiB / 20.4 MiB (100 %) 945.4 KiB/s in 23s
info: downloading component 'rust-std' for 'x86_64-apple-darwin'
25.9 MiB / 25.9 MiB (100 %) 939.8 KiB/s in 28s
info: downloading component 'rust-std' for 'x86_64-pc-windows-msvc'
22.3 MiB / 22.3 MiB (100 %) 946.6 KiB/s in 24s
info: downloading component 'rust-std'
26.7 MiB / 26.7 MiB (100 %) 952.4 KiB/s in 29s
info: downloading component 'rustc'
27.2 MiB / 69.5 MiB ( 39 %) 951.4 KiB/s in 30s ETA: 45s
info: retrying download for 'https://static.rust-lang.org/dist/2025-02-20/rustc-1.85.0-x86_64-unknown-linux-gnu.tar.xz'
27.2 MiB / 69.5 MiB ( 39 %) 950.1 KiB/s in 30s ETA: 45s
info: retrying download for 'https://static.rust-lang.org/dist/2025-02-20/rustc-1.85.0-x86_64-unknown-linux-gnu.tar.xz'
27.2 MiB / 69.5 MiB ( 39 %) 942.8 KiB/s in 30s ETA: 45s
info: retrying download for 'https://static.rust-lang.org/dist/2025-02-20/rustc-1.85.0-x86_64-unknown-linux-gnu.tar.xz'
27.2 MiB / 69.5 MiB ( 39 %) 945.7 KiB/s in 30s ETA: 45s
info: retrying download for 'https://static.rust-lang.org/dist/2025-02-20/rustc-1.85.0-x86_64-unknown-linux-gnu.tar.xz'
error: component download failed for rustc-x86_64-unknown-linux-gnu: could not download file from 'https://static.rust-lang.org/dist/2025-02-20/rustc-1.85.0-x86_64-unknown-linux-gnu.tar.xz' to '/home/nlehmann/.rustup/downloads/7436f13797475082cd87aa65547449e01659d6a810b4cd5f8aedc48bb9f89dfb.partial': error decoding response body: request or response body error: operation timed out
I have a somewhat slow connection, but I've never had a problem before. I tried several times and got the timeout consistently. I finally managed to install the toolchain by setting RUSTUP_USE_CURL.
It may be related to #3486, but I'm posting it as a new issue because I never had a problem before updating.
Steps
I'm not sure if you only need a slow connection or if there's something particular about my network, but I get the error when I do rustup toolchain install. My toolchain file has
Thanks for the report. This looks like quite an old bug in the reqwest backend that wasn't noticed because it wasn't the default until recently. I filed #4218 to fix it.
Verification
Problem
After updating to
1.28
I got anoperation timed out
when installing a toolchainI have a somewhat slow connection, but I've never had a problem before. I tried several times and got the timeout consistently. I finally managed to install the toolchain by setting
RUSTUP_USE_CURL
.It may be related to #3486, but I'm posting it as a new issue because I never had a problem before updating.
Steps
I'm not sure if you only need a slow connection or if there's something particular about my network, but I get the error when I do
rustup toolchain install
. My toolchain file hasPossible Solution(s)
No response
Notes
No response
Rustup version
rustup 1.28.0 (6e19fbec7 2025-03-02)
Installed toolchains
OS version
Fedora Linux 41 (6.12.13-200.fc41.x86_64)
The text was updated successfully, but these errors were encountered: