[英]error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
I can not clone any github repositories with https, but it is ok to clone a bitbucket/gitlab repository.我无法使用 https 克隆任何 github 存储库,但可以克隆一个 bitbucket/gitlab 存储库。
git clone git@github.com:xxx/xxx.git
it works. git clone git@github.com:xxx/xxx.git
它可以工作。
git clone http://github.com/xxx/xxx.git
it works,too. git clone http://github.com/xxx/xxx.git
它也可以工作。
git clone https://github.com/xxx/xxx.git
I got this error: 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
Any suggestions/insights are much appreciated.非常感谢任何建议/见解。
Note: I can clone the repository with SourceTree client注意:我可以使用SourceTree客户端克隆存储库
~/.gitconfig ~/.gitconfig
Remove the following删除以下内容
# .gitcofig
[http "https://github.com"]
proxy = https://127.0.0.1:1087
[https "https://github.com"]
proxy = https://127.0.0.1:1087
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.