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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

Did not help. 

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

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
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

251 views 5 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you