Non-zero exit code: 128 Error executing command: Unable to find remote helper for http

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

When testing a new Git Repository the following ERROR occurs:

Testing Connection

Exception executing command "/export/home/apps/fisheye/bin/git ls-remote -h http://<USERNAME>:<PASSWORD>@<GIT_HOST>/scm-manager/git/test
" Non-zero exit code: 128 com.atlassian.utils.process.ProcessException:
Non-zero exit code: 128 Error executing command 
"/export/home/apps/fisheye/bin/git ls-remote -h http://<USERNAME>:<PASSWORD>@<GIT_HOST>/scm-manager/git/test ": fatal: Unable to find remote helper for 'http'

Error testing connection.
Error talking to repository: 


fatal: Unable to find remote helper for 'http'
Connection failed.

Cause

This ERROR is caused when you have an Environment Variable called GIT_EXEC_PATH.

Resolution

Remove the GIT_EXEC_PATH variable from the User running FishEye/Crucible and add it manually to the Settings:

  1. Go to Administration
  2. Click on Global Settings > Server
  3. Now set the path to the Git Executable

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.