➜  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)


cargo build failed: SSL connect error (schannel: failed to receive handshake, SSL/TLS connection fai

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

cargo build failed: SSL connect error (schannel: failed to receive handshake, SSL/TLS connection fai

 

2. input command "cargo build --verbose"

cargo build failed: SSL connect error (schannel: failed to receive handshake, SSL/TLS connection fai

 

3. input command "cargo build"

build success!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-11-30
  • 2021-11-20
  • 2021-12-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-28
  • 2021-05-21
  • 2022-12-23
  • 2021-10-07
  • 2021-04-20
相关资源
相似解决方案