我正在尝试在我的英特尔 mac 上 brew install riscv-tools 。由于中国防火墙,我必须配置一个VPN。然后我为我的 zsh 终端设置 http_proxy
export https_proxy=https://127.0.0.1:15236/
然而,当
Downloading https://ghcr.io/v2/homebrew/core/dtc/manifests/1.6.1
,
报错
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:15236
Error: riscv-tools: Failed to download resource "dtc_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/dtc/manifests/1.6.1
相同地址的其他文件已成功下载,报告如下:
Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.2.1_1
Already downloaded: /Users/jiachengzheng/Library/Caches/Homebrew/downloads/a1986a80dafb4e42b8372268a00d8d14aa8294154c876ba82e7ce48db06885cb--gmp-6.2.1_1.bottle_manifest.json