'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.
git clone [email protected]:xxx/xxx.git
it works.
git clone http://github.com/xxx/xxx.git
it works,too.
git clone https://github.com/xxx/xxx.git
I got this error:
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
Solution 1:[1]
~/.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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Rosen |
