gitlab-sandstorm icon indicating copy to clipboard operation
gitlab-sandstorm copied to clipboard

Cannot clone repo with non-standard port

Open Abraxos opened this issue 9 years ago • 3 comments

I have sandstorm configured to use HTTPS on port 44344 (I dont know whether this is actually the cause of the issue, its merely a suspcicion). When I first create a repo it tells me to use the following commands:

 echo url=https://<random id>:<random data>@api.marvin.sandcats.io:44344/gitlab/repo.git | git -c credential.helper=store credential approve
 git clone -c credential.helper=store https://<random id>@api.marvin.sandcats.io:44344/gitlab/repo.git repo_<random id>_RENAME_ME

Note that this is what it outputs, including the repo.git whereas the actual name of the repo is "tech_reference". The only thing that was changed was the ID and key.

I tried to execute the exact commands above and I get the following error:

Cloning into 'repo_<random id>_RENAME_ME'...
fatal: repository 'https://<random id>@api.marvin.sandcats.io:44344/gitlab/repo.git/' not found

Or if I try to use the repo's actual name I get:

Cloning into 'repo_<random id>_RENAME_ME'...
fatal: repository 'https://<random id>@api.marvin.sandcats.io:44344/gitlab/tech_reference.git/' not found

I don't know if this is a coding issue or whether I have a misconfiguration, but please advise.

Abraxos avatar Feb 07 '16 06:02 Abraxos

Looks like this is the same problem as was reported in #7. For now, I recommend keeping the default name for the repository.

dwrensha avatar Feb 07 '16 13:02 dwrensha

That should work for now. Thanks!

Are there any plans to fix this issue though? If not then maybe a friend of mine and I could take a look at it.

Abraxos avatar Feb 07 '16 17:02 Abraxos

This issue was moved to sandstormports/gitlab-sandstorm#9

xet7 avatar Jul 31 '18 19:07 xet7