RPC failed; result=35, HTTP code = 0 git报错-网络问题

git报错如下,怎么处理呢
1.网络问题,有时github不稳定,要么等待网络,要么直接下载zip的

2.至于其他方法
在访问github的时候遇到了如上的问题.

我的问题是result = 35 和 result = 7 之间无限循环.

如图所示,只要将https这五个字母,改成git就可以了.

[root@localhost usr]# git clone https://github.com/openmaptiles/openmaptiles.git
Cloning into 'openmaptiles'...
error: RPC failed; result=35, HTTP code = 0
fatal: The remote end hung up unexpectedly
[root@localhost usr]# git clone https://github.com/openmaptiles/openmaptiles.git
Cloning into 'openmaptiles'...
 ^C
[root@localhost usr]# ls
[root@localhost usr]# git clone https://github.com/openmaptiles/openmaptiles.git
Cloning into 'openmaptiles'...
fatal: unable to access 'https://github.com/openmaptiles/openmaptiles.git/': Encountered end of file
[root@localhost usr]# git clone git://github.com/openmaptiles/openmaptiles.git
Cloning into 'openmaptiles'...
^C
[root@localhost usr]# ^C
[root@localhost usr]# ^C
[root@localhost usr]#
[root@localhost usr]#
[root@localhost usr]# git config --global http.sslVerify "false"
[root@localhost usr]# git clone https://github.com/openmaptiles/openmaptiles.git
Cloning into 'openmaptiles'...
^C
[root@localhost usr]# ^C
[root@localhost usr]# ^C
[root@localhost usr]# git config --global --unset http.proxy
[root@localhost usr]# git config --global --unset https.proxy
[root@localhost usr]# git clone https://github.com/openmaptiles/openmaptiles.git
Cloning into 'openmaptiles'...
error: RPC failed; result=7, HTTP code = 0
fatal: The remote end hung up unexpectedly
[root@localhost usr]# git clone https://github.com/openmaptiles/openmaptiles.git
Cloning into 'openmaptiles'...
remote: Enumerating objects: 7593, done.
remote: Counting objects: 100% (492/492), done.
remote: Compressing objects: 100% (418/418), done.
remote: Total 7593 (delta 109), reused 413 (delta 74), pack-reused 7101
Receiving objects: 100% (7593/7593), 48.19 MiB | 5.59 MiB/s, done.
Resolving deltas: 100% (5109/5109), done.
[root@localhost usr]#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值