sjain
sjain

Reputation: 23344

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

Upvotes: 6

Views: 20209

Answers (2)

sjain
sjain

Reputation: 23344

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.

Upvotes: 15

functionpointer
functionpointer

Reputation: 1441

Egit wasn't able to read the remote repository. It got a timeout.

Make sure that you have proper access to the repo. Check your network connectivity, check ssh keys and/or passwords, check permissions. Does it work on another pc?

Upvotes: 0

Related Questions