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

git

Denis Strekha August 4, 2017

Installed (apt install git git-core). I specified the path in the settings (/ usr / bin / git). Does not work. It is installed on debian 9, and on the server with windows it works.

 

 

Error testing connection.
Error talking to repository: 


at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:120)
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:390)
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:964)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Connection failed.

1 answer

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 4, 2017

Hi Denis,

There is an article titled Error testing connection. Error talking to repository - occurs when trying to connect to a Git repository.  It provides the following causes and resolutions:

Cause

Cause #1 - Git executable not available

FishEye was not able to detect where git executable (git.exe for a Windows server) is located.

Cause #2 - repository details incorrect

The Git URL or the authentication type and/or credentials are incorrect.

Resolution

Resolution for Cause #1 - Git executable not available

Set the Git executable path from FishEye Administration >> Global Settings >> Server >> Git executable >> Edit Details. The git executable file is usually located in the bin directory

Resolution for Cause #2 - repository details incorrect

Make sure that the Git URL and the provided credentials are correct.

You can test the expected Git URL by running:

git config --get remote.origin.url

Try the above steps and let us know if that does not resolve the issue.

Cheers,

Branden

Denis Strekha August 4, 2017

Did not help. 

somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 4, 2017

Hi Denis,

I'm sorry to hear that didn't help. Can you please provide the output of these commands:

  1. Cd into the git repository:
  2. export GIT_TRACE_PACKET=1; export GIT_TRACE=1 ; export GIT_CURL_VERBOSE=1
  3. git config --get remote.origin.url
  4. git pull

Once I have that we'll go from there.

Cheers,

Branden

Denis Strekha August 5, 2017

We have an external repository, it works fine. The problem is fisheye under debian. Fisheye under windows there is no such problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events