gpt4 book ai didi

Git 克隆 : fatal: unable to access 'https://github.com/google-coral/pycoral.git/' : server certificate verification failed. CAfile:无 CRLfile:无

转载 作者:行者123 更新时间:2023-12-04 22:42:08 26 4
gpt4 key购买 nike

我正在按照教程 (https://coral.ai/docs/dev-board/get-started/#run-pycoral) 设置边缘 tpu 开发板,并且能够通过 MDT 连接到开发板的外壳。当我尝试 git clone 存储库时,我看到了以下错误消息:

mendel@mocha-zebra:~$ git clone https://github.com/google-coral/pycoral.git
Cloning into 'pycoral'...
fatal: unable to access 'https://github.com/google-coral/pycoral.git/': server certificate verification failed. CAfile: none CRLfile: none
有人可以帮忙吗?谢谢!
我做过/尝试过的事情:
1.更新CA证书
mendel@mocha-zebra:~$ sudo apt-get install apt-transport-https ca-certificates -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20190110).
apt-transport-https is already the newest version (1.8.2.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mendel@mocha-zebra:~$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
2. 获取证书
openssl s_client -showcerts -servername git.mycompany.com -connect git.mycompany.com:443 </dev/null 2>/dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p'  > git-mycompany-com.pem
3. 加入证书列表
cat git-mycompany-com.pem | sudo tee -a /etc/ssl/certs/ca-certificates.crt
4.重置时钟
现在 date输出正确的日期和时间
5.禁用SSL认证验证
git config --global http.sslverify false
export GIT_SSL_NO_VERIFY=true
在我禁用 SSL 认证验证后,运行 git clone 给出了不同的错误消息:
mendel@mocha-zebra:~$ git clone https://github.com/google-coral/pycoral.git
Cloning into 'pycoral'...
fatal: unable to update url base from redirection:
asked for: https://github.com/google-coral/pycoral.git/info/refs?service=git-upload-pack
redirect: https://charter.guestinternet.com/?UI=8587f8ed-8341-4b82-a120-d257b139c9c4&api_domain=https://secure.11os.com&UI=040d98&NI=0050e8040d98&UIP=24.97.110.215&MA=7CD95CB25273&RN=50&PORT=50&ZONE=Unauth Zone&RAD=yes&PP=no&PMS=no&SIP=172.20.9.93&OS=https://github.com%2Fgoogle-coral%2Fpycoral.git%2Finfo%2Frefs%3Fservice%3Dgit-upload-pack

最佳答案

charter.guestinternet.com表示某种社区解决方案 WiFi 功能,您需要先对门户进行身份验证,然后才能访问互联网。
尝试先访问该门户,对您进行身份验证。
然后试试你的git clone再次。

关于Git 克隆 : fatal: unable to access 'https://github.com/google-coral/pycoral.git/' : server certificate verification failed. CAfile:无 CRLfile:无,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68076694/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com