简体   繁体   English

在 - git pull - SSL 例程时出现致命错误:SSL3_GET_RECORD

[英]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.comhttps://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_proxyhttps_proxy设置不正确。

You would want to check:你想检查:

  • if you are behind a firewall如果你在防火墙后面
  • if you need to use a proxy to access internet/github.如果您需要使用代理访问 Internet/github。 If so, make sure to set 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.

相关问题 BitBucket Git - 致命:无法访问... SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure - BitBucket Git - fatal: unable to access ... SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Git pull/push - 无法访问 HTTPS,SSL 例程似乎已关闭 - Git pull / push - unable to access HTTPS, SSL routines seem to be down git 致命错误:不支持 SSL 后端“通道” - git fatal error: Unsupported SSL backend 'schannel' 尝试从GIT拉出时出现SSL错误 - SSL error when trying to PULL from GIT git拉致命错误 - git pull fatal error Git 错误致命:无法将 SSL 后端设置为“openssl”:已设置 - Git Error fatal: Could not set SSL backend to 'openssl': already set 为什么在执行 git 拉动后出现 SSL 证书错误? - Why I have an SSL certificat error after doing git pull? Git无法克隆或使用SSL_ERROR_SYSCALL拉 - Git fails to clone or pull with SSL_ERROR_SYSCALL git麻烦通过https:例程:SSL23_GET_SERVER_HELLO - git trouble via https: routines:SSL23_GET_SERVER_HELLO 错误:RPC失败; curl 56 OpenSSL SSL_read:错误:140943FC:SSL例程:ssl3_read_bytes:sslv3警报错误记录mac,errno 0 - error: RPC failed; curl 56 OpenSSL SSL_read: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac, errno 0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM