Skip to content

Install throws "unsuccessful tunnel" behind proxy #1712

Closed
@marnunez

Description

@marnunez

Problem

Install fails behind proxy. Tested on fresh Debian Linux and Windows
Steps

For Debian:

  1. Make sure http_proxy = HTTP_PROXY = https_proxy = HTTPS_PROXY = "http://user:pass@proxy_ip:proxy_port"

  2. curl https://sh.rustup.rs -sSf | sh -s -- -v

  3. output:

verbose: installing toolchain 'nightly-x86_64-unknown-linux-gnu'
verbose: toolchain directory: '/home/mnunez/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
verbose: creating temp file: /home/mnunez/.rustup/tmp/sr1e7ka_o4re76av_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256'
verbose: downloading with reqwest
verbose: deleted temp file: /home/mnunez/.rustup/tmp/sr1e7ka_o4re76av_file
verbose: removing toolchain directory: '/home/mnunez/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256' to '/home/mnunez/.rustup/tmp/sr1e7ka_o4re76av_file'
info: caused by: failed to make network request
info: caused by: https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256: an error occurred trying to connect: unsuccessful tunnel
info: caused by: unsuccessful tunnel

Possible Solution(s)

Notes

curl https://sh.rustup.rs -sSf | sh -s -- -v --version

info: downloading installer
rustup-init 1.17.0 (069c88ed6 2019-03-05)

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