SourceTree错误:1407742E:SSL例程:SSL23_GET_SERVER_HELLO:tlsv1警报协议版本

SourceTree错误:1407742E:SSL例程:SSL23_GET_SERVER_HELLO:tlsv1警报协议版本

问题描述:

我正在使用SourceTree并尝试从常规github存储库中进行克隆,但出现此错误:

I'm using SourceTree and try to clone from a general github repository, but I got this error:

致命:无法访问' https://github.com/mfitzp/15 -minute-apps.git/':错误:1407742E:SSL例程:SSL23_GET_SERVER_HELLO:tlsv1警报协议版本 完成但有错误,请参见上文.

fatal: unable to access 'https://github.com/mfitzp/15-minute-apps.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Completed with errors, see above.

如何解决?

在SourceTree中检查Tools > Options > Git,如果使用的是Use Embedded Git,则可以看到git版本是1.9.5,它是旧的, 最新版本 的git是2.16.2.

Check Tools > Options > Git in SourceTree, if you're using Use Embedded Git, you can see the git version is 1.9.5 which is old, latest version of git is 2.16.2.

因此,单击Use System Git,如果您安装了较新版本的git,则在Use system Git之后它将显示较新版本,然后尝试再次克隆它应该可以正常工作.

So click Use System Git, if you install the newer version of git, after Use system Git it'll show newer version, then try to clone again it should work fine.

另请参阅另一个答案