Gitlab:无法通过http克隆(通过ssh克隆正常工作)

6
我可以帮助你进行翻译。以下是需要翻译的内容:

我正在运行Gitlab 5.4,并最近尝试通过HTTP从我的服务器进行git克隆。我发现即使使用ssh克隆正常,但它并不起作用。

这里是错误信息:

git clone http://myservername/gitlab/myrepo.git
Cloning into '<repo>'...
remote: Not Found
fatal: repository 'http://<myservername>/gitlab/<repo>.git/' not found

以下是 production.log 的输出(未产生错误):

Started GET "/gitlab/<repo>.git/info/refs?service=git-upload-pack" for xx.xx.xx.xx at 2013-08-13 02:24:46 +0000

这个问题的更多信息在这里... gitlabhq Issue#4766

2个回答

1
我猜可能是防火墙的问题?但 Web 服务器应该也在运行。
使用浏览器请求该 URL,您会得到什么?

1
正如OP kbaylosisGitLab issue 4766中提到的那样:

它现在在6.0中运行良好。

所以无论问题是什么,在5.x和6.x之间已经修复了。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接