Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用OTROISEHG https模式克隆时出现SSL版本错误_Ssl_Windows 7_Mercurial_Tortoisehg - Fatal编程技术网

使用OTROISEHG https模式克隆时出现SSL版本错误

使用OTROISEHG https模式克隆时出现SSL版本错误,ssl,windows-7,mercurial,tortoisehg,Ssl,Windows 7,Mercurial,Tortoisehg,我正在使用win7 64b上的OrtoiseHG使用https协议克隆存储库。我已经在我这边安装并配置了公共证书,因此可以检查服务器证书的有效性。 但是,尝试克隆时出现以下错误: % 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 20

我正在使用win7 64b上的OrtoiseHG使用https协议克隆存储库。我已经在我这边安装并配置了公共证书,因此可以检查服务器证书的有效性。 但是,尝试克隆时出现以下错误:

% 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]
我想我必须以某种方式配置乌龟端支持的SSL版本,但在internet上找不到有关如何配置的资源。我正在寻找关于这个问题的任何解释或文件。Tks


注意:repo服务器强迫我使用https,我无法控制它。(无法切换到ssh)

我在一个安装上收到了一条类似的错误消息,该安装以前工作正常,并且对服务器(在我的控制下)或我的本地TortoiseHg安装没有已知的更改

我追踪到为我的计算机上的一个无关程序设置了环境变量HTTP_PROXY和HTTPS_PROXY

我通过在mercurial.ini中添加以下内容来修复它:

[http_proxy]
host = <proxy-server>
no = <mercurial host ip address>
[http\u代理]
主机=
否=

为了解决这个问题,我刚刚更新了TortoiseHG(或
choco install TortoiseHG
),后者又更新了它的内部版本SSL,我认为这是一个非常旧的bitbucket,它已经退役了。

我确认了这个问题,几天以来我也遇到了同样的问题,但有一些细微的区别:我在[hostfingerprints]中指定了主机的指纹部分和[auth]部分中的我的登录凭据(Apache)。使用thg3.0.2(包括hg3.0.2.0)时,能否使用--debug和--traceback来运行该命令?