Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl needs --retry-all-errors #4062

Open
2 tasks done
lolbinarycat opened this issue Oct 24, 2024 · 1 comment
Open
2 tasks done

curl needs --retry-all-errors #4062

lolbinarycat opened this issue Oct 24, 2024 · 1 comment
Labels

Comments

@lolbinarycat
Copy link

Verification

Problem

"Connection Reset By Peer" is by-default treated as a fatal error by curl, but can be produced spuriously, either due to switching networks, or overly aggressive load-balancing by ISPs.

Steps

  1. use rustup, then switch between wifi connections.

Possible Solution(s)

No response

Notes

No response

Rustup version

rustup 1.26.0 (1980-01-01)

Installed toolchains

Default host: x86_64-unknown-linux-gnu
rustup home: /home/binarycat/.rustup

installed toolchains

nightly-2024-06-10-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)
stage1
1.80.1-x86_64-unknown-linux-gnu

active toolchain

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.83.0-nightly (2bd1e894e 2024-09-26)

OS version

NixOS 24.05 (Uakari)

@rami3l rami3l changed the title curl needs --retry-all-erros curl needs --retry-all-errors Oct 25, 2024
@rami3l rami3l changed the title curl needs --retry-all-errors curl needs --retry-all-errors Oct 25, 2024
@rami3l
Copy link
Member

rami3l commented Oct 25, 2024

@lolbinarycat Thanks for filing this issue!

However, I am not quite sure whether you referring to the rustup-init.sh part or the Rust part of the software... If it's the latter then we have two download backends to choose from, did you mean the libcurl backend specifically?

In other words, would you mind explaining more about when you usually encounter this error?

Many thanks in advance 🙇‍♀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants