在 - git pull - SSL routines:SSL3_GET_RECORD 时出现致命错误
Getting fatal error at the time of - git pull - SSL routines:SSL3_GET_RECORD
我在 - git pull 时遇到错误,错误是“致命:无法访问'https://github.com/repository.git/':error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong 版本号? ” .请提出解决方案。
这是您存储库的服务器问题(SSL 证书)。最好联系存储库管理员。顺便说一句 try accessing ssh URL
同一个存储库(如果你有访问权限)。
Op 提到
my problem is fixed. Internet speed was very slow so issue occurs.
但也要考虑 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.
- diffie-hellman-group1-sha1: This applies to all SSH connections to github.com
- diffie-hellman-group14-sha1: This applies to all SSH connections to github.com
升级到最新的Git应该就够了不会不行
如果在 Windows 10,更新到 git version 2.29.1.windows.1
(link) 解决了我的问题。
我在 Linux 环境中遇到了同样的错误。原来环境变量(即我的 VM 上的 http_proxy
和 https_proxy
设置不正确。
你会想要检查:
- 如果您在防火墙后面
- 如果您需要使用代理访问internet/github。如果是这样,请确保正确设置
https_proxy
。
我在 - git pull 时遇到错误,错误是“致命:无法访问'https://github.com/repository.git/':error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong 版本号? ” .请提出解决方案。
这是您存储库的服务器问题(SSL 证书)。最好联系存储库管理员。顺便说一句 try accessing ssh URL
同一个存储库(如果你有访问权限)。
Op 提到
my problem is fixed. Internet speed was very slow so issue occurs.
但也要考虑 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.
- diffie-hellman-group1-sha1: This applies to all SSH connections to github.com
- diffie-hellman-group14-sha1: This applies to all SSH connections to github.com
升级到最新的Git应该就够了不会不行
如果在 Windows 10,更新到 git version 2.29.1.windows.1
(link) 解决了我的问题。
我在 Linux 环境中遇到了同样的错误。原来环境变量(即我的 VM 上的 http_proxy
和 https_proxy
设置不正确。
你会想要检查:
- 如果您在防火墙后面
- 如果您需要使用代理访问internet/github。如果是这样,请确保正确设置
https_proxy
。