【错误记录】git clone 报错 ( fatal: unable to access ‘https...‘:gnutls_handshake() failed: Error in the pu )
2023-06-13 09:18:01 时间
文章目录
一、报错信息
报错信息 :
执行
git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-android
命令 , 报如下错误信息 :
root@octopus:~/ijkplayer/ijkplayer-master# git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-android
正克隆到 'ijkplayer-android'...
fatal: unable to access 'https://github.com/Bilibili/ijkplayer.git/': gnutls_handshake() failed: Error in the pull function.
root@octopus:~/ijkplayer/ijkplayer-master#
二、解决方案
这是无法连接 GitHub 上的代码仓库 ,
使用
ping github.com
命令 , 查看 github 网站是否能 ping 通 , 如果无法 ping 通 , 则查找原因 ;
我在 VMware 虚拟机中的 Ubuntu 18.04.4 系统中执行的该命令 ;
之前遇到过类似问题 , 参考 【错误记录】GitHub 网站和仓库无法访问 ( 域名重定向 | 检查 C:\Windows\System32\drivers\etc\hosts 配置文件中的 GitHub 地址域名配置 ) 博客 ,
检查外部的 Windows 系统中的 C:\Windows\System32\drivers\etc\hosts 配置文件 是否有问题 , 需要重新设置最新的 GitHub 域名地址 ;
尝试切换网络 , 如 5G / 4G 切换 , 手机热点切换 , 目的是重置下网络 , 看是否能解决 ;
切换成手机热点后 , 发现下载成功 ;
相关文章
- 兄弟1218无线打印服务器错误,兄弟无线打印机无法打印怎么办?「建议收藏」
- 安装错误 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 解决办法
- 【GCC编译优化系列】GCC链接失败的错误提示 undefined reference to ‘xxx‘ 可能还有一种情况你没注意到?
- Jenkins 项目的 gpg: signing failed: Bad passphrase 错误
- 【错误记录】Tinker 热修复示例运行报错 ( Execution failed for task ‘:app:tinkerProcessD‘ . tinkerId is not set!!! )
- 【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
- 【错误记录】Oboe / AAudio 播放器报错 ( onEventFromServer - AAUDIO_SERVICE_EVENT_DISCONNECTED - FIFO cleared )
- 【错误记录】Android Studio 编译报错 ( Invalid Gradle JDK configuration found )
- 【错误记录】Android 模拟器安装应用报错 ( INSTALL_FAILED_INSUFFICIENT_STORAGE )
- 【错误记录】Android Studio 向 GitHub 提交代码报错 ( Push failed: Failed with error: Could not read from remote )
- 【错误记录】Git 使用报错 ( no changes added to commit (use “git add“ and/or “git commit -a“) )
- 【错误记录】Git 使用报错 ( git: ‘switch‘ is not a git command. See ‘git --help‘. )
- 【错误记录】Android Studio 编译报错 ( AAPT: error: failed to read PNG signature: file does not start with PN )
- 【错误记录】手机中调试程序报错 ( The application could not be installed: INSTALL_FAILED_TEST_ONLY )
- SQLServer 错误 17832 用于打开该连接的登录数据包的结构无效;该连接已关闭。 请与客户端库的供应商联系。%.*ls 故障 处理 修复 支持远程
- 非法字符: ‘/ufeff’ 解决方案|错误: 需要class, interface或enum详解程序员
- Spring错误:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.B详解编程语言
- 安装python报0x80072f7d错误的最简单的解决方案,全程不足一分钟!!!详解编程语言
- 有关HikariPool-1 – Failed to validate connection com.mysql.cj.jdbc.ConnectionImp 错误的产生原因与解决方法详解编程语言
- MySQL 2002 错误解决指南(mysql2002错误)
- MySQL数据库1452错误:解析外键约束失败(mysql数据库1452)
- 解决Oracle数据库发生例外错误(oracle例外题)
- mysql输出数据赋给js变量报unterminatedstringliteral错误原因
- MSSQL附加数据库拒绝访问提示5120错误的处理方法