Closed AzHicham closed 1 year ago
I just found out that even if I want to install binstall
v1.1.2 using curl + bash
ie curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/v1.1.2/install-from-binstall-release.sh | bash
It will install the latest release
in sh script -> base_url="https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-"
Also http3 support has been added recently > v1.2.0
Hmm reqwest really shouldn't try HTTP/3 if the support isn't available...
In the meantime you can install by downloading the binary directly instead of using the scripts.
Nice! I download manually the release v1.1.2 an it works :)
Thank you
Feel free to close the issue or wait for a fix :)
@NobodyXu do you think we could catch that error somehow and opt out of HTTP/3 at runtime or better to report upstream? Also may be a good idea to provide a flag to disable HTTP/3 even when supported.
@NobodyXu do you think we could catch that error somehow and opt out of HTTP/3 at runtime or better to report upstream? Also may be a good idea to provide a flag to disable HTTP/3 even when supported.
Didn't find anything related to this in reqwest doc, perhaps we should open an issue in upstream.
P.S. @AzHicham you could run
cargo binstall cargo-llvm-cov@0.5.26 cargo-nextest@0.9.57 cargo-sonar@020.0 --no-confirm --locked
to speedup installation by resolving and installing in parallel
@passcod @AzHicham I read the message again and realize that it's the udp protocol that isn't available, not that reqwest cannot fallback to http/2.
@AzHicham Can you try enabling udp support in ur docker and see if it will work?
@NobodyXu Thank you for the tips !!
WDYM by enabling udp support ? base image is debian:11-slim should udp be already enabled ?
@NobodyXu Thank you for the tips !!
WDYM by enabling udp support ? base image is debian:11-slim should udp be already enabled ?
I think it's a docker issue, it's probably blocked using seccomp filters.
@AzHicham We have released cargo-binstall v1.3.0, which bumps reqwest to v0.11.20 and it should fix this.
@NobodyXu Thank you It's working now with version 1.3.0 :)
Hello,
I have a simple docker image that fails to build (since last week). It fails when I try to install binstall, the probleme happens only on aarch64 with qemu on github action. github action / amd64 -> OK macbook m1 / aarch64 -> OK
My dockerfile:
Here is the error:
PS: Issue observed with version v1.1.2 and also v1.2.1