[英]Getting fatal error at the time of - git pull - SSL routines:SSL3_GET_RECORD
I am getting error at the time of - git pull , Error is “ Fatal: unable to access ' https://github.com/repository.git/ ': error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number?”我在 - git pull 时遇到错误,错误是“致命:无法访问' https://github.com/repository.git/ ':错误:1408F10B:SSL例程:SSL3_GET_RECORD:版本号错误?” . . Please suggest solution.请提出解决方案。
The Op mentions欧普提到
my problem is fixed.我的问题是固定的。 Internet speed was very slow so issue occurs.互联网速度非常慢,因此出现问题。
But do also consider that GitHub disabled just yesterday (Feb. 22 2018) deprecated algorithms:但也要考虑到 GitHub 就在昨天(2018 年 2 月 22 日)禁用了弃用算法:
- TLSv1/TLSv1.1: This applies to all HTTPS connections, including web, API, and git connections to https://github.com and https://api.github.com . TLSv1/TLSv1.1:这适用于所有 HTTPS 连接,包括 web、API 和到https://github.com和https://api.github.com 的git 连接。
- diffie-hellman-group1-sha1: This applies to all SSH connections to github.com diffie-hellman-group1-sha1:这适用于到 github.com 的所有 SSH 连接
- diffie-hellman-group14-sha1: This applies to all SSH connections to github.com diffie-hellman-group14-sha1:这适用于到 github.com 的所有 SSH 连接
Upgrading to the latest Git should be enough to not be no升级到最新的 Git 应该足够了
I encountered the same error in a Linux environment.我在 Linux 环境中遇到了同样的错误。 Turned out environment variable (ie http_proxy
and https_proxy
on my VM weren't set correctly.结果发现环境变量(即我的 VM 上的http_proxy
和https_proxy
设置不正确。
You would want to check:你想检查:
https_proxy
correctly.如果是这样,请确保正确设置https_proxy
。如果在 Windows 10 上,更新到git version 2.29.1.windows.1
(链接)为我解决了这个问题。
This is your repository's server issue (of SSL certificate).这是您的存储库的服务器问题(SSL 证书)。 Better contact repository administrator.更好地联系存储库管理员。 By the way try accessing ssh URL
of the same repository (if you have access).顺便说try accessing ssh URL
同一存储库的try accessing ssh URL
(如果您有访问权限)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.