error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.

root@cp01:~# git clone https://github.com/ceph/ceph.git
Cloning into 'ceph'...
remote: Enumerating objects: 1173281, done.
remote: Counting objects: 100% (195/195), done.
remote: Compressing objects: 100% (117/117), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
root@cp01:~# apt-get install gnutls-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libgnutls-dane0 libopts25 libunbound8
Suggested packages:
  dns-root-data
The following NEW packages will be installed:
  gnutls-bin libgnutls-dane0 libopts25 libunbound8
0 upgraded, 4 newly installed, 0 to remove and 80 not upgraded.
Need to get 714 kB of archives.
After this operation, 2,765 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 libunbound8 amd64 1.9.4-2ubuntu1.3 [350 kB]
Get:2 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 libgnutls-dane0 amd64 3.6.13-2ubuntu1.7 [29.1 kB]
Get:3 http://mirrors.aliyun.com/ubuntu focal/universe amd64 libopts25 amd64 1:5.18.16-3 [59.4 kB]                                                                                
Get:4 http://mirrors.aliyun.com/ubuntu focal-security/universe amd64 gnutls-bin amd64 3.6.13-2ubuntu1.7 [275 kB]                                                                 
Fetched 714 kB in 10s (72.1 kB/s)                                                                                                                                                
Selecting previously unselected package libunbound8:amd64.
(Reading database ... 79121 files and directories currently installed.)
Preparing to unpack .../libunbound8_1.9.4-2ubuntu1.3_amd64.deb ...
Unpacking libunbound8:amd64 (1.9.4-2ubuntu1.3) ...
Selecting previously unselected package libgnutls-dane0:amd64.
Preparing to unpack .../libgnutls-dane0_3.6.13-2ubuntu1.7_amd64.deb ...
Unpacking libgnutls-dane0:amd64 (3.6.13-2ubuntu1.7) ...
Selecting previously unselected package libopts25:amd64.
Preparing to unpack .../libopts25_1%3a5.18.16-3_amd64.deb ...
Unpacking libopts25:amd64 (1:5.18.16-3) ...
Selecting previously unselected package gnutls-bin.
Preparing to unpack .../gnutls-bin_3.6.13-2ubuntu1.7_amd64.deb ...
Unpacking gnutls-bin (3.6.13-2ubuntu1.7) ...
Setting up libopts25:amd64 (1:5.18.16-3) ...
Setting up libunbound8:amd64 (1.9.4-2ubuntu1.3) ...
Setting up libgnutls-dane0:amd64 (3.6.13-2ubuntu1.7) ...
Setting up gnutls-bin (3.6.13-2ubuntu1.7) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
root@cp01:~# git config --global http.sslVerify false
root@cp01:~# git config --global http.postBuffer 1048576000
root@cp01:~# 
root@cp01:~# git clone https://github.com/ceph/ceph.git
Cloning into 'ceph'...

解决方法
apt-get install gnutls-bin
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值