【Git】:git 报错记录
1. fatal: unable to access 'https://github.com/cruxopen/openISP.git/': Recv failure: Connection was reset
系统:Windows 11
报错信息如下:
(base) PS D:\Project> git clone https://github.com/cruxopen/openISP.git
Cloning into 'openISP'...
fatal: unable to access 'https://github.com/cruxopen/openISP.git/': Recv failure: Connection was reset
一顿google之后到的解决方案:
git config --global --unset http.proxy
git config --global --unset https.proxy
ipconfig /flushdns ## 刷新DNS缓存
此时又出现了新的报错:
(base) PS D:\Project> git clone https://github.com/cruxopen/openISP.git
Cloning into 'openISP'...
fatal: unable to access 'https://github.com/cruxopen/openISP.git/': Failed to connect to github.com port 443 after 22073 ms: Couldn't connect to server
重新运行如下命令就 OK 了:
git config --global --unset http.proxy
git config --global --unset https.proxy
【推荐】2025 HarmonyOS 鸿蒙创新赛正式启动,百万大奖等你挑战
【推荐】博客园的心动:当一群程序员决定开源共建一个真诚相亲平台
【推荐】开源 Linux 服务器运维管理面板 1Panel V2 版本正式发布
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 推荐 5 款实用的 Docker 可视化管理工具,工作效率翻倍!
· 瞧瞧别人家的接口重试,那叫一个优雅!
· 【EF Core】框架是如何识别实体类的属性和主键的
· 上周热点回顾(7.7-7.13)
· MySQL 13 为什么表数据删掉一半,表文件大小不变?