我正在尝试克隆位于代理
后面的存储库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
在http://servername:8000/听(绑定到*:8000)
任何想法为什么mercurial失败???
使用
修复hg clone ssh://user@servername//var/www/project projectname
答案 0 :(得分:1)
我刚才遇到了类似的错误,对我而言,最终我指的是错误的代理服务器。
答案 1 :(得分:1)
遇到类似的错误消息,我只需重启Apache就解决了这个问题。我的mercurial配置为在我启动Apache服务时启动。代码:
apache2ctl restart