SSL version error when cloning in https TortoiseHG mode

I am using TortoiseHG on win7 64b to clone a repository using the https protocol. I installed and configured a public certificate on my side to verify server certificates. However, when I try to clone, I get the following error:

% hg clone --verbose -- https://***/hg/Trainings/train-repo1 "c:\sandboxes\hg" SSL error: wrong version number [command returned code 255 Wed Nov 06 14:28:47 2013] 

I think I need to somehow configure the SSL version supported on the Tortoise side, but cannot find resources on the Internet on how to do this. I am looking for any explanation or documentation on this. Tks!

Note. The repo server forces me to use https, and I do not control it. (cannot switch to ssh)

+7
source share
2 answers

I had a similar installation error message that previously worked without problems and no known changes to the server (which is under my control) or my local installation of TortoiseHg.

I tracked it by setting the HTTP_PROXY and HTTPS_PROXY environment variables for an unrelated program on my computer.

I fixed it by adding the following to mercurial.ini:

 [http_proxy] host = <proxy-server> no = <mercurial host ip address> 
+1
source

To fix this, I just updated TortoiseHG ( via the Internet or via choco install tortoisehg ), which in turn updated the internal version of SSL, which I believe was so old that the bitpack removed it.

+1
source

Source: https://habr.com/ru/post/957477/


All Articles