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
相关推荐
.Hypocritical.11 小时前
Git 入门教程
git
AI行业学习17 小时前
Claude Code + cc-switch + Git + Node.js 全套下载+安装+配置完整版
开发语言·git·python·前端框架·node.js·html·notepad++
豆角焖肉18 小时前
.gitignore:配置文件+初学入门
git·gitignore
weixin_7275356218 小时前
HTTP 八股文:从三次握手到浏览器渲染的硬核拆解
网络·网络协议·http
月落归舟18 小时前
Git 新手入门指南
git
达达车18 小时前
git使用技巧记录
git·使用技巧·版本管理
TlSfoward19 小时前
TLSFoward 能帮你看到什么 TLSFOWARD抓包工具
服务器·爬虫·网络协议·https
2501_9160074720 小时前
Python实现HTTPS爬虫的完整指南:使用requests、BeautifulSoup、Selenium和Scrapy
爬虫·python·ios·小程序·https·uni-app·iphone
Simon—欧阳20 小时前
Git使用心得&理解
git
久久学姐21 小时前
Python开发爬虫的常用技术架构
爬虫·python·http·框架·数据存储