question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

git clone failing with connection timeout for gitlab.com

See original GitHub issue

I’ve previously checked out the same project from gitlab.com into codenvy successfully with the same SSH keys, however it is now failing with the following message:

Cloning into '******'...
ssh: connect to host gitlab.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Maybe an IP whitelisting issue again?

Reproduction Steps: Clone any gitlab.com repository over SSH either from the menu or using “git clone …” in the terminal.

Codenvy version: 5.22.1 (codenvy.io website)

OS and version: Windows 10/Chrome 69 using node-default stack

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:9
  • Comments:6

github_iconTop GitHub Comments

1reaction
sangtraceurcommented, Sep 20, 2018

Same here with gitlab.com and private gitlab instance served via docker. No problem to cline to other environments than codenvy.io. During clone I get green message that checkout on master was successfull but in result everythink stucks and returns

fatal: Could not read from remote repository.

1reaction
phomotinfcommented, Sep 14, 2018

Same things for me ! Even if I destroyed / recreated my workspace. OS and version: LinuxMint 18

Read more comments on GitHub >

github_iconTop Results From Across the Web

gitlab.com SSH connection timed out - Stack Overflow
When i now try to clone a repository i receive the following error: $ git clone git@gitlab.com:myName/repositoryName/ repoName Cloning into ' ...
Read more >
Troubleshooting Git - GitLab Docs
git clone over HTTP fails with transfer closed with outstanding read data remaining error · If this error occurs when cloning a large...
Read more >
Cannot "git pull" anymore from Gitlab: "connection timeout"
yes, from the looks of it, it is not a memory problem, it is a network problem, something is wrong with the way...
Read more >
SSH connection to Gitlab is getting timeout - Super User
This sounds like a (possibly transient) network problem and not an ssh / authentication problem. What happens if you type telnet gitlab.com 22...
Read more >
Gitlab runner fails with connection timeout
I have gitlab runner with, docker as executor and docker:latest as default image. ... I logged to gitlab-runner running server and tried cloning...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found