rustup: static.rust-lang.org does not work with ip6

rustup seems to use ip6 by default on mac. However trying to connect via ip6 to static.rust-lang.org just hangs. e.g.

--2016-12-21 15:56:51--  https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256
Resolving static.rust-lang.org (static.rust-lang.org)... 2600:9000:2044:3600:5:26a9:7440:93a1, 2600:9000:2044:4000:5:26a9:7440:93a1, 2600:9000:2044:4e00:5:26a9:7440:93a1, ...
Connecting to static.rust-lang.org (static.rust-lang.org)|2600:9000:2044:3600:5:26a9:7440:93a1|:443...

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Reactions: 3
  • Comments: 17 (8 by maintainers)

Most upvoted comments

This is fascinating and suggests there’s something very odd with the IPv6 setup at your current location. We’re certainly not changing things that rapidly on our end. I don’t really want to limit rustup to ipv4, but perhaps we might come up with an env var foryou to do so on demand.

I was able to work around this by using RUSTUP_USE_HYPER=1 while running rustup.