如:

curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:7890

解决方案:

修改 https.proxy = "https://127.0.0.1:7890/https.proxy = "http://127.0.0.1:7890/,即将 https 请求代理到 代理工具的 http 接口,通常来说是代理软件不支持 https 的问题。

在清空你的 shell 代理设置后可以加入一下代理配置:

export http_proxy="http://127.0.0.1:7890"
export https_proxy="http://127.0.0.1:7890"

退出编辑后使用 source 来刷新终端配置:

source ~./zshrc