Rustup Download Timeout

I tried installing Rust through rustup and after several attempts, I noticed installation always failed because rustup was trying to download rustc within 30 seconds so it would often fail my attempt at 90-98%. After doing a bunch of -h among the commands, I didn't find anything to prolong this timeout. I was lucky with internet option at the time so I change my connection and finished downloading rustc within 30s. Now I'm merely curious, is there a config or command to extend this 30s timeout? Thanks.

P.S.: Pardon if I break any forum rule; I've looked around including the similar topic recommendation when I typed this and found nothing similar. I'm not a forum person per se.

Edit: Added a screenshot from one of the earlier attempts

This seems relevant…

…and sounds like a fix is already on its way.

Nevertheless, as far as I can tell it should also be the case that an unsuccessful partial download should be able to be continued if you try again; so – assuming that works properly – you shouldn’t be all that limited.

A configurable timeout isn’t really necessary, because the goal of this timeout really only is to detect if your connection got cut completely … as long as any progress keeps being made at all. The fact that it didn’t work that way was a bug, apparently (wrong flavor of “timeout” function being called).

1 Like

You should use a vpn proxy , like " set http_proxy=http://127.0.0.1:7890 set https_proxy=http://127.0.0.1:7890"

What does this have to do with the rest of this?