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
相关推荐
我不是程序猿儿1 小时前
【git】在 GitLab 上如何把 A 分支(如 feature/xxx)合并到 B 分支(如 trunk)
服务器·git·gitlab
是芽芽哩!1 小时前
GitLab 仓库 — 常用的 git 命令
git·gitlab
用手码出世界2 小时前
Git之本地仓库管理
git·gitee
言慢行善3 小时前
对git 熟悉时,常用操作
git
Frilled Lizard4 小时前
解决mac下git pull、push需要输入密码
git·macos
Stringzhua7 小时前
Git踩坑
大数据·git·elasticsearch
June bug8 小时前
Git 从零开始:完整项目上传指南
git
Tipriest_9 小时前
linux git ssh配置过程
linux·git·ssh
兰德里的折磨5501 天前
使用git提交时出现了报错,新手不会的可以参考一下。
git
JavaDog程序狗1 天前
【教程】以程序员张三的故事,沉浸式详解Git常用命令
git