curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104

bash 复制代码
Sun@ubuntu-vm:~/.vcpkg-clion/vcpkg$         ./bootstrap-vcpkg.sh 
Downloading vcpkg-glibc...
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104

针对上述问题,网上给出了如下解决办法:

bash 复制代码
git config --global http.sslVerify "false"

git config --global http.postBuffer 54288000

以及,

bash 复制代码
git config --global http.proxy  http://127.0.0.1:7890

git config --global https.proxy  https://127.0.0.1:7890

配置后显示如下:

bash 复制代码
Sun@ubuntu-vm:~/.vcpkg-clion/vcpkg$ git config --global --list

http.sslverify=false
http.postbuffer=54288000
http.proxy=http://127.0.0.1:7890
https.proxy=https://127.0.0.1:7890
core.compression=0
相关推荐
小毛驴8507 小时前
所有微服务部署都使用一个git地址,并且通过docker部署各个服务的情况下,如何编写mvn指令来处理各个服务。
git·docker·微服务
国王不在家7 小时前
git 切换仓库后清理分支缓存
git
柯南二号11 小时前
【Gitlab】Ubuntu 20.04服务器部署Gitlab
git·gitlab
phac12311 小时前
git 如何直接拉去远程仓库的内容且忽略本地与远端不一致的commit
大数据·git·elasticsearch
ficker131 天前
git常用命令
git
kevin_cat1 天前
微信群机器人-备份文件发送通知
git·bash·企业微信
程序媛Dev1 天前
50.4k Star!我用这个神器,在五分钟内搭建了一个私有 Git 服务器!
运维·服务器·git
澈轩1 天前
Git 用得好,下班走得早
git
人间造梦工厂1 天前
Git Bash 别名
git
画个太阳作晴天2 天前
解决 Android Studio 中 build 目录已被 Git 跟踪后的忽略问题
git