错误:1400410B:SSL 例程:CONNECT_CR_SRVR_HELLO:版本号错误

zhu*_*bch 5 git

我无法使用 https 克隆任何 github 存储库,但可以克隆一个 bitbucket/gitlab 存储库。

git clone git@github.com:xxx/xxx.git 有用。

git clone http://github.com/xxx/xxx.git 它也有效。

git clone https://github.com/xxx/xxx.git 我收到此错误:

Cloning into 'xxx'...
fatal: unable to access 'https://github.com/xxx/xxx.git/': error:1400410B:SSL 
routines:CONNECT_CR_SRVR_HELLO:wrong version number
Run Code Online (Sandbox Code Playgroud)

非常感谢任何建议/见解。

注意:我可以使用SourceTree客户端克隆存储库

小智 0

〜/.gitconfig

删除以下内容

# .gitcofig
[http "https://github.com"]
    proxy = https://127.0.0.1:1087
[https "https://github.com"]
    proxy = https://127.0.0.1:1087
Run Code Online (Sandbox Code Playgroud)