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

Proxy support is broken in the recent version (rustup 1.22.0 (2d019878d 2020-07-02)) #2401

Closed
rohitjoshi opened this issue Jul 7, 2020 · 4 comments
Assignees
Labels

Comments

@rohitjoshi
Copy link

Problem
Earlier I was able to install/update rust using rustup at my workplace where access is through the proxy.
Today, I was able to successfully update the rustup ( rustup self update ) but after that no longer able to update the toolchain.

See the detail comment : https://www.reddit.com/r/rust/comments/hmaddj/announcing_rustup_1220/fx7eeg2?utm_source=share&utm_medium=web2x

Steps

After updating the rustup to the latest version, try to install tool chain with proxy enabled.

Possible Solution(s)

Notes

Output of rustup --version: rustup 1.22.0 (2d01987 2020-07-02)
Output of rustup show: Default host: x86_64-apple-darwin
rustup home: /Users/xxx/.rustup

installed toolchains

stable-x86_64-apple-darwin
beta-x86_64-apple-darwin
nightly-2019-03-24-x86_64-apple-darwin
nightly-2019-04-03-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)

active toolchain

nightly-x86_64-apple-darwin (default)
rustc 1.46.0-nightly (fd4b177aa 2020-06-08)

@rohitjoshi rohitjoshi added the bug label Jul 7, 2020
@kinnison
Copy link
Contributor

kinnison commented Jul 8, 2020

Hi, I'm sorry you encountered this. @inejge noticed this and provided an updated env_proxy and #2399 last night, and we're trying to get a release out ASAP. I'll close this once 1.22.1 is out.

@kinnison kinnison self-assigned this Jul 8, 2020
@alaric
Copy link

alaric commented Jul 8, 2020

In case anyone is stuck with this, falling back to curl by setting RUSTUP_USE_CURL=1 as a temporary workaround worked in my environment.

@rohitjoshi
Copy link
Author

Thanks @alaric for the workaround.

@kinnison
Copy link
Contributor

kinnison commented Jul 8, 2020

1.22.1 is out and should be fixed.

@kinnison kinnison closed this as completed Jul 8, 2020
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

3 participants