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

This widget could not be displayed.

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

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you