\10140; [UNK]rust-demo git:(dag_blockchain) ✗ cargo build
➜ rust-demo git:(dag_blockchain) ✗ cargo build
error: failed to download from `https://crates.io/api/v1/crates/rand/0.6.1/downl oad`
Caused by:
[35] SSL connect error (schannel: failed to receive handshake, SSL/TLS connect ion failed)
fix this error as follows:
https://github.com/rust-lang/cargo/issues/1689
1. input command “curl ” + “download url”, example:
curl https://crates.io/api/v1/crates/rand/0.6.1/download -v
2. input command “cargo build –verbose”
3. input command “cargo build”
build success!
Note: in addition, there are many reasons for this problem, such as unstable network, crates need to cross the wall and so on, which may need to be tried and investigated one by one;
div>
Similar Posts:
- Rust’s introduction to Hello world | webassembly
- [Solved] CURL Install Error: GnuTLS: The TLS connection was non-properly terminated. Unable to establish SSL connection.
- curl: (7) couldn’t connect to host [How to Solve]
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- [Solved] Intellj Building image Error: ADD failed: no source files were specified
- MAC Install hombrew error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
- Git clone Error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- Rust encountered error[E0554]: `#![feature]` may not be used on the stable release channel (switch nightly version)
- Linux: CentOS 7 executes service network restart error [Solved]
- [Solved] Xcodebuild error: Command PhaseScriptExecution failed with a nonzero exit code