Unable to clone GitHub repos in GitLab

  • Posted on September 13, 2014
  • tlhaasAsked by tlhaas

I’ve installed GitLab via One-Click install on a droplet. It’s working fine for repos I’ve created within GitLab, but I can’t seem to clone repos from GitHub.

Here’s the general architecture:

Here’s the background of the issue:

  • Attempted to clone public repo with https clone uri; no dice
  • Attempted to clone public repo with https fork uri (clone_uri/fork); no dice
  • Forked public repo into my personal GitHub account and attempted authenticated clone in GitLab with the https clone uri; no dice
  • In case you’re curious, the public repo is

When trying to clone my GitHub fork, I used the URI syntax of, and for all other attempts I used the standard clone URI. In all instances GitLab generated the error “Import failed. Retry?”

Prior to using this One-Click installed GitLab droplet I had an old test droplet I set up myself with Ubuntu 14.04 and GitLab 7, and, IIRC, I was able to clone projects from GitHub with no issue.

I’m not familiar with how the One-Click install config’d everything. Any ideas of error logs I can look at?

Based on Googling I think it could either be

  1. nginx config issue
  2. SSH key issue with GitHub
  3. A physical limitation of my brain

Thanks in advance!


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @tlhaas:

So I destroyed the droplet and started over from scratch. Seems to be working again. Hopefully this issue doesn’t rear its head again.

View the original comment

This comment has been deleted