rm -rf depot_tools && git clone https://webrtc.bj2.agoralab.co/webrtc-mirror/depot_tools.git
Cloning into ‘depot_tools’…时提示无法访问Cloning into ‘depot_tools’…
fatal: unable to access ‘https://webrtc.bj2.agoralab.co/webrtc-mirror/depot_tools.git/’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
linux平台安装depot_tools提示无法访问
赞·0
回答·1
浏览量·468
问题已解决(小白)方式如下:
就是简单的认证问题,配置如下:
export GIT_SSL_NO_VERIFY=1
git config --global http.sslVerify false,然后再去clone就好了,此处等待3~4分钟。
=============================踩坑分割线=====================================
中间还尝试过看到有帖子使用ip地址clone的,用http://120.92.49.206:3232/chromiumsrc/depot_tools.git这个地址clone的,试了一下,提示fatal: unable to access ‘http://120.92.49.206:3232/chromiumsrc/depot_tools.git/’: Failed to connect to 120.92.49.206 port 3232: Connection timed out,根据百度修改代理服务器发现也不行,所以就不要尝试了。