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

Upgrading Fisheye/Crucible to 3.2.0, error when communicating with git repositories using SSH

I cannot use the upload private ssh key method as it always fails to save the private key. I tried generating a pair of keys (as recommended), I placed the public key in my user on Stash. whenever I test the connection it fails.

Error testing connection.
CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:385)
at java.lang.ProcessImpl.start(ProcessImpl.java:136)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
at com.atlassian.utils.process.ExternalProcessImpl.createDefaultProcess(ExternalProcessImpl.java:196)

Connection failed.

3 answers

1 accepted

0 votes
Answer accepted
Nick Atlassian Team Dec 05, 2013

Which file can the system not find?

If you are running FishEye on windows, you may have hit https://jira.atlassian.com/browse/FE-4984 which has been fixed in 3.2.1.

Otherwise we will need to see more of you stacktrace and logs. Also please ensure tha the git executable is still available on your instance to the fisheye runuser.

Feel free to raise a support request immediately and reference this question with more information and logs if you don't wish to add those things publicly here.

Hi Nick,

We upgraded on Friday and that seems to have fixed our problem. Thanks!

Hi Nick,

Thanks for answering so quickly. I am going to try upgrading to 3.2.1 and see if that fixes the problem. If it does not I will update this question with more logs and more information. As to your question "Which file can the system not find?" I am guessing it can't find "echo" I have no idea. Here are more errors

Caused by: com.atlassian.utils.process.ProcessNotStartedException: echo could not be started

at com.atlassian.utils.process.ExternalProcessImpl.start(ExternalProcessImpl.java:256)

at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:377)

at com.cenqua.fisheye.util.FileSystemUtils.privatise(FileSystemUtils.java:71)

... 165 more

Caused by: java.io.IOException: Cannot run program "echo": CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)

at com.atlassian.utils.process.ExternalProcessImpl.createDefaultProcess(ExternalProcessImpl.java:196)

at com.atlassian.utils.process.ExternalProcessImpl.createProcess(ExternalProcessImpl.java:204)

at com.atlassian.utils.process.ExternalProcessImpl.start(ExternalProcessImpl.java:253)

Nick Atlassian Team Dec 08, 2013

Hi Rick,

That definitely looks like the same bug as fixed in 3.2.1. Can you please try 3.2.1 and update this question with the result.

Thanks,

Nick

I'm having git/gitolite communication errors on Crucible 3.1.5. I generated SSH keys, and uploaded the public key per gitolite convention. But when testing the connection I get this error:

Fisheye is using '/usr/bin/ssh' to authenticate with SSH authenticated repositories.

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:444)
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:567)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Connection failed.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

124 views 1 2
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