【ROS错误记录】fatal: unable to access“https://github.com/ ***“

解决方案

sudo git clone http://github.com/cambel/ur3
warning: redirecting to https://github.com/cambel/ur3/
remote: Enumerating objects: 2943, done.
remote: Counting objects: 100% (511/511), done.
remote: Compressing objects: 100% (268/268), done.
remote: Total 2943 (delta 277), reused 429 (delta 213), pack-reused 2432
Receiving objects: 100% (2943/2943), 24.70 MiB | 9.34 MiB/s, done.
Resolving deltas: 100% (1686/1686), done.
具体的改动为

将https改为http

sudo可加可不加。

错误显示

git clone git://github.com/cambel/ur3

fatal: unable to connect to github.com:

github.com[0: 20.205.243.166]: errno=Connection refused

git clone https://github.com/cambel/ur3

Cloning into 'ur3'...

fatal: unable to access 'https://github.com/cambel/ur3/': gnutls_handshake() failed: Error in the pull function.

ping github.com

PING github.com (20.205.243.166) 56(84) bytes of data.

^C

--- github.com ping statistics ---

131 packets transmitted, 0 received, 100% packet loss, time 133117ms

sudo git clone https://github.com/cambel/ur3

Cloning into 'ur3'...

fatal: unable to access 'https://github.com/cambel/ur3/': gnutls_handshake() failed: Error in the pull function.

sudo git clone git://github.com/cambel/ur3

Cloning into 'ur3'...

fatal: unable to connect to github.com:

github.com[0: 20.205.243.166]: errno=Connection refused

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值