This error can occur if you change the default configuration for the relative_url_root variable for the gitlab application in the configuration file .../gitlab/config/gitlab.yml . The default value is / . When you change the default value like /gitlab , url will be
http:
This is shown as the cloning URL for the project in the user interface is correct, for example
http:
but somehow this configuration is not checked when performing the actual cloning via http or https.
There has already been a discussion and fix on gitub on this in the gitlab list of issues. Here is the source file .
My configuration is gitlab v5.0 and gitlab-shell v1.1.0.
matthaeus
source share