On 16/12/16 17:27, Ben Kelly wrote:
I tried ./mach bootstrap on a fresh m-c this morning and got:

Will try to install Rust.
Downloading rustup-init... Error running mach:

    ['bootstrap']

The error occurred in code that was called by the mach command. This is
either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this
error
message.

The details of the failure are as follows:

URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>

What Python version do you have? (Run 'python --version') If it’s not the latest, can you update it?

Try modifying python/mozboot/mozboot/rust.py to replace this line:

    RUSTUP_URL_BASE = 'https://static.rust-lang.org/rustup'

by this line:

RUSTUP_URL_BASE = 'https://static-rust-lang-org.s3.amazonaws.com/rustup'

If that fixes the issue for you, it’s likely that your Python version does not support SSL SNI.

--
Simon Sapin
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to