Often when I want to push to my private repo I get a "Server aborted the SSL handshake" error. After several tries it often suddenly works. I was yet not able to find a solution on the internet.
If this weren't annoying enough today I wanted to install torch via git clone https://github.com/torch/distro.git ~/torch --recursive
It fails every time at the public cutorch.git
fatal: unable to access 'https://github.com/torch/cutorch.git/':
Server aborted the SSL handshake fatal: clone of
'https://github.com/torch/cutorch.git' into submodule path
'extra/cutorch' failed
However when I execute this line by myself it works fine:
git clone https://github.com/torch/cutorch.git/ extra/cutorch
Now I have to restart the install process which fails because the folder already exists. So no torch for me unless this is fixed?
I have the latest version of git(2.8.1) installed and use Mac OS 10.11.4.
How do I fix this annoying SSL handshake error?
Update: It may be caused by my ISP. I have had phases where I had problems with HTTPS and iTunes Store connections as well.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…