Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,729
Community Members
 
Community Events
168
Community Groups

Timeout during adding git repo (file protocol)

I want to add git repository to fisheye. (fisheye and git installed locally on my windows desktop)

Repository location: file:///E:/GitRepos/test

When I click 'test connection I get (debug mode on):

Exception executing command "C:\Git\bin\git.exe ls-remote -h file:///E:/GitRepos/test" process timed out com.atlassian.utils.process.ProcessTimeoutException: process timed out

Error testing connection.

Error talking to repository: 

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:148)

at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:442)

at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:588)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Connection failed.

But I'm able to execute command "C:\Git\bin\git.exe ls-remote -h file:///E:/GitRepos/test" in console (also as a fisheye service user account).

What do I have to change to add local git repo to fisheye?

1 answer

1 accepted

0 votes
Answer accepted
lpater Atlassian Team Mar 03, 2014

Hi Michal,

are you running FishEye as a service, or interactively? If you're running interactively it might be worth checking the console to see if git isn't trying to get some input from the user, and FishEye times out waiting for it to end executing.

Other than that it should be able to index local repositories with the path provided. If you continue having trouble do raise a support request. Include a support zip with debug logs attached as described here.

I'm running FishEye as a windows service. Service user has access to git folder.

I'll try to run interactively and then I'll raise a support request.

Thanks.

waiting for support request answer

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events