Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cloning a huge git repo ends with a timeout

Sanjay Dewal March 30, 2017

Hi community,

our git-repository got a little bit bigger (4,2GB instead of 3,9GB) and since that we are getting following error when Fisheye tries to clone the repository:

Unable to clone remote repository: ssh://myusername@git.server.com:12345/repository-name/ - [Cloning into bare repository 'clone'..., , Received disconnect from 10.12.34.56: 2: User session has timed out idling after 600000 ms., fatal: The remote end hung up unexpectedly]

It looks like 10 minutes are not enought to proceed with the actual cloning.

How can i extend this 600000 timeout?  

1 answer

0 votes
Mikolaj Zyromski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 30, 2017

Hi,

Git command timeout can be configured via Administration > Repository >> SCM Details >> Git Options section >> Command Timeout.

It's 1 hour by default though, which makes me wonder why the command times out after 10 minutes in your case. Did you by any chance modify default timeout value? 

 

Best Regards,

Mikolaj Zyromski (Fisheye/Crucible Dev Team)

Abramo Franchetti June 18, 2019

hi i'm using Windows. Where can i find the option

Administration > Repository >> SCM Details >> Git Options section >> Command Timeout ?

in Sourcetree?

Paithankar, Nilesh April 18, 2021

I am facing this same issue.
Now I am not able to clone my repo, every time it is ending up with an error- EOF
Can anyone please tell me how to increase timeout in source tree, I am using windows? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events