Git拉/推 - 无法访问HTTPS,SSL例程似乎停滞不前 [英] Git pull / push - unable to access HTTPS, SSL routines seem to be down

查看:457
本文介绍了Git拉/推 - 无法访问HTTPS,SSL例程似乎停滞不前的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我每天都在使用Git(和GitHub),一切工作都很好,突然之间,我无法再通过Git命令与远程GitHub存储库进行通信。


致命:无法访问' https://github.com/snahrvar/eatibl.git/ ':
错误:1407742E:SSL例程: SSL23_GET_SERVER_HELLO:tlsv1警报
协议版本

因此,我在多个存储库中进行了测试,并且在计算机上收到了相同的错误。我有其他人与这些相同的存储库进行交互,并且对他们来说工作正常。在这个错误之前,我在一个项目上做了一个npm install sharp,最终失败了,我怀疑这可能与一些SSL设置有关,但这是一个疯狂的猜测!



任何一般的想法或指导都将非常感谢!



如果它有帮助的话,这是我的环境:


  • Git版本:1.9.4.msysgit.2

  • Windows版本:Windows 8.1


解决方案

更新TortoiseGit和GCM并没有帮助我,但根据@ Frederic的意见,更新Git本身也是如此。



https://git-scm.com/download/win <为了确保新版本的Git安装正确,并且不会与以前的安装发生冲突(如果您使用了TortoiseGit,可能会使用不同的版本文件夹和PATH变量混乱),请在安装之前删除现有的Git安装更新的Git。可能还需要安装管理员权限。


I'm using Git (and GitHub) on a daily basis and everything has been working fine and all of a sudden, I can no longer communicate with my remote GitHub repository through my Git commands. When I try to "Git pull", it gives the following error:

fatal: unable to access 'https://github.com/snahrvar/eatibl.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

So, I tested across multiple repositories, and I get the same errors on my computer. I had someone else interact with those same repositories, and it works fine for them. Prior to this error, I did an "npm install sharp" on a project and that ended up failing, and I suspect this may have messed with some SSL setting, but that's a wild guess!

Any general thoughts or guidance would be much appreciated!

If it's helpful at all, here is my environment:

  • Git version: 1.9.4.msysgit.2
  • Windows version: Windows 8.1

解决方案

Updating TortoiseGit and GCM didn't help me, but updating Git itself did, as per @Frederic's advice in comments.

https://git-scm.com/download/win

To make sure the new version of Git installs properly and doesn't conflict with previous installations (it might, if you used TortoiseGit's, because it would use different folders and mess with PATH variable), remove the existing Git installation before installing the updated Git. Might also need to install with administrator rights.

这篇关于Git拉/推 - 无法访问HTTPS,SSL例程似乎停滞不前的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆