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
相关推荐
言之。3 小时前
Git Hooks
git
2501_915918413 小时前
常见 iOS 抓包工具的使用,从代理抓包、设备抓包到数据流抓包
android·ios·小程序·https·uni-app·iphone·webview
代码AI弗森4 小时前
Git Bash 与 PowerShell:定位差异、使用场景与选择建议
开发语言·git·bash
森叶5 小时前
Git flow command error: ‘flow‘ is not a git command 问题解决
git
天麓6 小时前
git merge 举例
git
AI_56787 小时前
Git冲突治理白皮书:智能标记与可视化协同的下一代解决方案
大数据·人工智能·git·机器学习
念丶小宇8 小时前
Git常用指令
大数据·git·elasticsearch
CSDN_RTKLIB8 小时前
Git Clone
git
中二病码农不会遇见C++学姐9 小时前
.env 文件是干啥的?为什么不能提交到 Git?
git·学习
CoderJia程序员甲10 小时前
GitHub 热榜项目 - 日榜(2026-02-03)
git·ai·开源·llm·github