git - 无法访问“https://github.com/GladysProject/gladys/”:无法连接到 github.com 端口 443:没有路由到主机
问题描述
当我运行时:
sudo git clone https://github.com/GladysProject/gladys gladys
出现错误:
fatal: unable to access 'https://github.com/GladysProject/gladys/': Failed to connect to github.com port 443: no route to host
我在树莓派 3B 上使用最新版本的 raspbian,我刚刚获得了 SAMBA 和传输。
解决方案
首先,检查你的连接设置和所有的废话,确保你已经有了。
如果错误仍然存在,请关闭 SSL 验证
git config http.sslVerify false
但如果没有 repo,运行这个来改变全局设置
git config --global http.sslVerify false
推荐阅读
- reactjs - React hooks set 函数在子组件中不起作用
- performance - Rust 中什么更好:定义一个静态变量以全局访问它或通过函数参数传递一个非静态变量?
- json - 我可以在 VS 代码片段中包含条件逻辑吗?
- bash - 在文件中搜索匹配后,将以下行回显到 bash 中的空行?
- spring - Spring JDBC 丢失时间戳与时区的偏移量
- active-directory - 如何在此 Active Directory 字符串上设置所有国家/地区?
- sql - PostgreSQL 连接类型
- sql - 如何创建具有两个主键的表,其中一个是一个表中的外键,另一个是另一个表中的外键?
- javascript - Intellij idea 无法识别 mochajs 关键字,例如“describe”、beforeAll、it 等
- ios - Google AdMob 返回“配置没有有效的 Google 应用 ID”