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

Fail to download files during bootstrap #55887

Closed
herquan opened this issue Nov 12, 2018 · 2 comments
Closed

Fail to download files during bootstrap #55887

herquan opened this issue Nov 12, 2018 · 2 comments

Comments

@herquan
Copy link

herquan commented Nov 12, 2018

I tried run command to build:
python x.py build
But failed with this error message:

Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure
channel."
At line:1 char:1
+ (New-Object System.Net.WebClient).DownloadFile('https://static.rust-l ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

I checked the code and found we download bootstrap files through powershell command, which I guess is not necessary. So attachment is my fix, using urllib rather than external dependencies.

patch.diff.txt
The HEAD before my change is 06118eac4c602a22d2004c98756a95f2c5ec95d5

@ehuss
Copy link
Contributor

ehuss commented Nov 12, 2018

See #55840 for the proposed fix.

@estebank
Copy link
Contributor

Closing as per #55840.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants