Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloning git repository failed using eclipse

Trying to pull the fresh code from bitbucket and I am continuously getting read time out error.

enter image description here

A popup comes that just says:

Git repository clone failed.
Read timed out.

Clicking on Show Error Log says-

Plug-in: org.eclipse.egit.ui

Date: current time of failure

like image 738
My God Avatar asked Sep 11 '13 15:09

My God


People also ask

How do I clone a Git repository in Eclipse?

Open Eclipse and choose Import –> Projects from Git (with smart import) Choose the Clone URI option in the Git import wizard and click Next. Confirm the URI, Host and Repository path parameters and click Next. Choose the Git branches to clone from the remote repository and click Next.

How do I authorize Git in Eclipse?

Go to your GitHub.com settings, and in the left hand pane click Personal access tokens . Click Generate new token . Select the scopes that you'd like this token to be able to use, and generate it.

What is EGit in Eclipse?

EGit is an Eclipse Team provider for the Git version control system. Git is a distributed SCM, which means every developer has a full copy of all history of every revision of the code, making queries against the history very fast and versatile.


1 Answers

This is the way figured out correctly,

Going to- Window -> Preferences -> Team -> Git

And set Remote Connection timeout(seconds) to some higher value.

The default is set to 30 seconds.

When set to 180 seconds and tried to pull, it worked.

like image 198
My God Avatar answered Nov 05 '22 01:11

My God