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
相关推荐
light_in_hand10 分钟前
HTTP 协议的基本格式和 fiddler 的用法
网络协议·http·fiddler
hai31524754328 分钟前
九章编程法 · HTTP转发代理网关【终极完美版·矩阵步进交换】
人工智能·网络协议·线性代数·http·矩阵·极限编程
驯龙高手_追风2 小时前
Gitlab本地服务器搭建及配置-详细教程
git·github
czhc11400756633 小时前
6.11:halcon,Sqlserver;项目sql连接;git
git·sql·sqlserver
Patrick_Wilson3 小时前
从「框架内部报错」到「请求头被网关截断」:一次 Sentry 排障与前端 Cookie 误用复盘
前端·http·浏览器
炸炸鱼.3 小时前
Git+Jenkins 基本使用:从入门到实战(知识点大全)
运维·git·jenkins
qiuziqiqi3 小时前
webman的消费脚本进程中http请求的选择
网络·网络协议·http
light_in_hand4 小时前
HTTPS 加密流程总结
网络协议·http·https
之歆4 小时前
Node.js HTTP 模块深度解析与实战指南
网络协议·http·node.js
戴国进5 小时前
git stash 用法详解
git