Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.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
Linux hg无法通过代理进行更新_Linux_Mercurial - Fatal编程技术网

Linux hg无法通过代理进行更新

Linux hg无法通过代理进行更新,linux,mercurial,Linux,Mercurial,我试图克隆一个位于代理后面的存储库 hg --config http_proxy.host=ipaddress:3128 pull "http://servername:8000" abort: HTTP Error 503: Service Unavailable 在代理服务器(squid)上,我可以看到它确实连接了 1315217673.018 102 ipaddress TCP_MISS/503 1601 GET http://servername:8000/? - DIRECT

我试图克隆一个位于代理后面的存储库

hg --config http_proxy.host=ipaddress:3128 pull "http://servername:8000"

abort: HTTP Error 503: Service Unavailable
在代理服务器(squid)上,我可以看到它确实连接了

1315217673.018    102 ipaddress TCP_MISS/503 1601 GET http://servername:8000/? - DIRECT/- text/html
我在项目目录中使用以下命令启动了hg服务器:

/usr/local/bin/hg serve
正在收听(绑定到*:8000)

知道为什么mercurial失败了吗

使用

hg clone ssh://user@servername//var/www/project projectname

我刚才遇到了一个类似的错误,对我来说,结果是我指向了错误的代理服务器。

遇到了类似的错误消息,我只需重新启动我的Apache就解决了。我的mercurial配置为在启动Apache服务时启动。代码:

apache2ctl重新启动