Gitlab: cannot clone by http (cloning with ssh works well)

I am running Gitlab 5.4 and recently tried to make a git clone over http from my server. I found out that it does not work even if cloning using ssh works well.

Here is the error:

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

And here is the output of production.log (no errors received)

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

Read more about this issue here ... gitlabhq Issue # 4766

+6
source share
2 answers

I think it could be a firewall? but the web server should also work.

What do you get when you request a URL in a browser?

+1
source

As OP kbaylosis is mentioned in GitLab 4766 issue :

Now it works fine in version 6.0.

So, whatever the problem, it was fixed between 5.x and 6.x.

+1
source

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


All Articles