git clone http/https 报错 10054/443 问题

文章目录

  • 错误
  • 解决方案
    • [1 关闭http和https代理](#1 关闭http和https代理)
    • [2 设置自己的代理](#2 设置自己的代理)

错误

错误 Failed to connect to github.com port 443: Timed out OpenSSL SSL_read: Connection was reset, errno 10054 一般都是网络问题

解决方案

1 关闭http和https代理

go 复制代码
git config --global --unset http.proxy

git config --global --unset https.proxy

2 设置自己的代理

1.按win键 2 打开设置 3 在网络和Internet找到自己的代理端口(我的是7890)4 然后命令行修改代理

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

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

查看git当前代理设置

go 复制代码
git config --global --get http.proxy

git config --global --get https.proxy
相关推荐
信息安全失业大专人员14 小时前
HTTP/HTTPS 协议精髓与 WAF(Web 应用防火墙)架构防线大底座
web安全·http·信息安全·https·企业信息安全
AIMath~16 小时前
向github中上传文件过大超过50M怎么办
网络·git·github
Dazer00717 小时前
Edge 浏览器绕过 HTTPS 证书错误
前端·https·edge
AIMath~20 小时前
如何将一个新的文件夹使用git 工具提交到github新仓库中
git·github
满天星830357721 小时前
【Git】原理及使用(二) (版本回退)
linux·git
愿天垂怜21 小时前
【C++脚手架】ffmpeg 库的介绍与使用
linux·服务器·开发语言·c++·ide·git·ffmpeg
月夜的风吹雨21 小时前
Linux 基础开发工具详解:从 yum 到 gdb 实战指南
linux·git·ubuntu·centos·vim
好运yoo1 天前
git cherry-pick
git
難釋懷1 天前
Nginx-Https证书配置
运维·nginx·https
不是光头 强1 天前
Obsidian Git 插件安装与配置完全指南
git