Loading [MathJax]/jax/output/CommonHTML/config.js
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >使用git时遇到的一些奇奇怪怪的问题的原因及解决方法

使用git时遇到的一些奇奇怪怪的问题的原因及解决方法

作者头像
huofo
发布于 2022-03-17 13:33:51
发布于 2022-03-17 13:33:51
1.1K0
举报
文章被收录于专栏:huofo's bloghuofo's blog

以下内容是我在使用git时遇到的一些小问题和解决方法,不全,只作为记录用。

Start

问题:OpenSSL SSL_read: Connection was aborted, , errno 10053

原因:Git默认限制推送的大小,运行命令更改限制大小即可

方法:git config --global http.postBuffer 524288000

问题:Failed to connect to github.com port 443:connection timed out

原因:设置的代理不可联通(绝大多数)或无法链接至github(github,无解)

方法:

git config --global --unset http.proxy

git config --global --unset https.proxy

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022-01-29 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
暂无评论
推荐阅读
编辑精选文章
换一批
Github 仓库 git clone 速度过慢解决方案
很多时候想从 GitHub 上 clone 一个仓库,都会遇到速度慢的问题,而且经常连接失败,这里给出有效解决方案。
用户6808043
2022/02/24
6.2K0
git报错,远程克隆和更新不下来解决方法
error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: unpack-objects failed
跟着阿笨一起玩NET
2020/07/29
3.5K0
GitHub代码总是拉取失败,本文的解决方法可以帮到你
每次从GitHub拉取代码,总是到要成功的时候报错了,是真的烦。网上搜了很多方法还是不行,简直绝望。这篇文章应该可以解决你的问题了。
公号:咻咻ing
2019/12/16
34.9K0
Github被墙?设置Git全局代理,解决无法pull和push问题
最近是不是 Github 又被墙了?从昨天开始,推送和拉取代码都报这样的错误:fatal: unable to access 'https://github.com/ideshun/fin-ai.git/': Recv failure: Connection was reset ,搞人心态。
德顺
2023/12/01
7.1K0
完美解决 git 报错 “fatal: unable to access ‘https://github.com/.../.git‘: Recv failure Connection was rese
在使用 Git 进行代码管理的过程中,经常会遇到各种各样的问题,其中之一就是在执行 git clone 或 git pull 等操作时出现 “fatal: unable to access ‘https://github.com/…/.git’: Recv failure Connection was reset” 的报错。这个问题通常是由网络连接问题或代理设置不正确导致的。在我的个人使用经验中,我亲自尝试了两种方法,它们都能够有效地解决这个报错。
IT_陈寒
2025/05/31
8.6K0
完美解决 git 报错 “fatal: unable to access ‘https://github.com/.../.git‘: Recv failure Connection was rese
【错误记录】GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )
先按照之前的博客 【错误记录】GitHub 错误 ( Push failed Unable to access xx:OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 ) 解决方案 , 操作一遍 , 这个错误与本次错误类似 ;
韩曙亮
2023/03/30
3.1K0
【错误记录】GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )
GitHub的使用
git add -A表示添加所有内容, git add . 表示添加新文件和编辑过的文件不包括删除的文件; git add -u 表示添加编辑或者删除的文件,不包括新添加的文件
代码的路
2022/06/18
4250
GitHub的使用
GitHub git push大文件失败(write error: Broken pipe)完美解决
  在使用git push推送大文件(超过了100MB)到GitHub远程仓库时提示异常,异常信息如下:
追逐时光者
2021/12/14
6.7K0
GitHub git push大文件失败(write error: Broken pipe)完美解决
使用git clone命令克隆文件出现error: RPC failed; curl 18 transfer closed with outstanding read data remaining
如果是因为curl的postBuffer的默认值太小,那么我们就需要修改curl的postBuffer的默认值,修改为多少这个需要按照现实情况决定,同时也决定于你需要下载的文件的大小,这里修改为500M,足以应对大部分的下载出错问题。
全栈程序员站长
2022/07/08
2.1K0
设置代理服务解决github被墙
最近在提交代码到GitHub,一直提示提交失败Push: unable to access 'https://github.com/username/project.git/': Failed to connect to github.com port 443 after 21140 ms: Couldn't connect to server,我以为是网络太差了,直接使用代理软件,还是同样的提示, 所以咨询了一位优秀的前端开发kaimo,才知道需要git配置一下代理
SmileNicky
2024/05/24
1.2K0
Git的使用
切换要跟踪的远程分支(origin/snowstorm为远程分支,snowstorm为本地分支):
代码的路
2022/06/18
4590
解决Git连接失败:Failed to connect to github.com port 443 after 21090 ms: Couldn‘t connect to server ‍
在这篇技术博客中,我们将深入探讨如何解决Git在连接GitHub时遇到的“Failed to connect to github.com port 443 after 21090 ms: Couldn‘t connect to server”错误。本文适合各级别读者,无论你是编程新手还是经验丰富的开发者,都能从中获益。通过SEO优化,本文包含关键词如Git, GitHub, 端口443, VPN, 代理设置等,旨在帮助更多遇到相同问题的朋友。
猫头虎
2024/04/08
66.8K4
解决Git连接失败:Failed to connect to github.com port 443 after 21090 ms: Couldn‘t connect to server ‍
OpenSSL SSL_read: Connection was reset, errno 10054
多数情况下国内访问 Github 会被…,或因网络波动问题推送失败。推荐使用 SSH 方式拉去代码或者参考 开源项目 修改本机 hosts 文件解决访问问题
攻城狮杰森
2022/06/03
2.8K0
使用git时遇到Failed to connect to github.com port 443 after 21060 ms
今天遇到一个怪异问题,自己本地写的内容准备 push到 github上,结果不管推还是拉都报了以下错误:
CoderJia
2024/10/18
5520
使用git时遇到Failed to connect to github.com port 443 after 21060 ms
git clone报错问题解决
fatal: unable to access 'https://github.com/xxxx.git/': OpenSSL SSL_read: Connection was reset, errno 10054 如上报错,解决:打开Git命令页面,执行git命令脚本:修改设置,解除ssl验证 git config --global http.sslVerify "false" 又执行git clone 命令时,报错如下: fatal: unable to access 'https://github.
jade_
2021/05/08
2K0
关于git拉取项目时,报RPC failed; curl 18 transfer closed with outstanding read data remaining错的解决方案
之前在从git远程库拉取项目的时候,出现了如上错误,因为拉取时间过长才报的错,所以猜测是内存或者项目过大导致的无法拉取,所以搜了搜,网上说是解决方案有三种,一种是增大缓存区;二是浅克隆,也就是说克隆的时候,先少克隆一些,比如只克隆每个文件只取最近一次提交,不是整个历史版本,三是换协议:具体解决方案如下:
跟着阿笨一起玩NET
2020/07/14
45.9K2
Git相关知识
4、再输入git status可以看到On branch master,这个说明已经在master分之上了
顾翔
2022/09/23
5750
【开发专题_03】unable to access ‘https://github.com/deviantony/docker-elk.git/‘: Failed connect to github
在CentOs克隆别人的repo的时候,出现:fatal: unable to access ‘https://github.com/deviantony/docker-elk.git/’: Failed connect to github.com:443; Connection refused。
夏之以寒
2024/03/04
2040
【开发专题_03】unable to access ‘https://github.com/deviantony/docker-elk.git/‘: Failed connect to github
Git "Failed to connect to 127.0.0.1 port 31181 Connection refused" 问题解决方案
使用 git 出现Failed to connect to 127.0.0.1 port 31181 Connection refused 错误,本文记录解决方案。 问题原因 使用代理,由于种种原因,未能在关闭代理时修正对 git 端的影响。 错误信息: $ git pull fatal: unable to access 'https://github.com/zywvvd/HexoLocalSearch.git/': Failed to connect to 127.0.0.1 port 31181:
为为为什么
2022/11/24
1.2K0
git 遇到的问题
问题: git pull failed(git pull失败) unable to access 'https://github.com/jinxing163/jiangli-tools.git/': error setting certificate verify locations:
用户1518699
2021/09/09
8330
推荐阅读
相关推荐
Github 仓库 git clone 速度过慢解决方案
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档