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
相关推荐
周小码9 小时前
10分钟搭建私有Git服务器:Soft Serve实战
运维·服务器·git
辣椒思密达12 小时前
Python HTTP请求中的重试与超时控制:提升稳定性的实用方法
开发语言·python·http
YHHLAI15 小时前
前端 HTTP 请求 & LLM 接口开发
前端·网络协议·http
梅塔文·欧帕西安卡琼18 小时前
git的底层原理详解
git
待什么青丝18 小时前
【git的摸鱼技巧】之工欲善其事
git·elasticsearch·搜索引擎
2601_9611940219 小时前
高中英语教资资料推荐|科三大题背诵和教学设计模板
git·开源·github·开源软件·开源协议·ossinsight
ting945200019 小时前
InsForge Backend Branching 后端全链路 Git 式分支技术原理、架构实现与底层源码剖析
人工智能·git·elasticsearch·架构
程序猿阿伟19 小时前
《扣子如何让OpenClaw技能开发提速》
人工智能·git·github
代码中介商20 小时前
HTTP 完全指南(三):Cookie、Session 与 Token 深度详解
网络·网络协议·http
摇滚侠21 小时前
IDEA 创建 Java 项目 推送到远程 Git 仓库
java·git·intellij-idea