使用curl通过代理来下载的时候,报错:
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:1087
curl通过环境变量里面的http_proxy
和https_proxy
来连接的。
这个错误表示是在连接本地proxy server的时候报的错误,再加上报SSL的错误,应该是通过https_proxy进行连接的,检查了https_proxy
的设置:
https_proxy=https://127.0.0.1:xxx
可以看出来是使用了错误的协议,正确设置应该是
https_proxy=http://127.0.0.1:xxx
网友评论