I'd like to use FishEye / Crucible over our BitBucket repository but the connection is simply not working. What I have done:
Now when I click "test connectino", I get this:
Fisheye is using 'C:\Program Files (x86)\Git\bin\ssh.exe' to authenticate with SSH authenticated repositories. Error testing connection. Error talking to repository: ssh.exe": bitbucket.org:myaccount: no address associated with name fatal: The remote end hung up unexpectedly at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:162) at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:450) at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:540) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) Connection failed.
What does this mean? if that's of any importanct, the generated public key ends with "MyProject on FishEye at http://mydomain.com", not an email address as usual. Can it be the issue? If so, what do I change so that the generated key contains an email address? Or is it some other problem?
According to this page, SSH URL as provided by BitBucket is not one of the supported formats, or it may be that this line from the documentation applies:
FishEye does not directly support the ssh protocol for Git repositories. To use ssh, launch FishEye within the context of ssh-agent, to which the appropriate ssh keys have been added.
So at the moment, one has to use HTTPS.
FishEye's UI should be updated to reflect this reality, IMO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
For the record, you can use the SSH link shown at the top of your bitbucket repo HOWEVER, you will still require Git to be installed on the server for the request to work. (I am adding this here as I always seem to forget this step when re-deploying).
So, you should end up with something like this.
If you forgot git it will say ssh is invalid or fails.
FishEye_and_Crucible__Administration.png Just make sure you have also added the Private Key pair to your bit bucket account, which can be found under the repo https://bitbucket.org/<companyName>/<repoName>/admin/deploy-keys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Borek Bernard, How did you do this? Because when I try and use https link FishEye says, "You must not use http(s) with SSH key authentication, use ssh instead" and none of the other authentication methods are working to conenct to BitBucket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the server running FishEye capable of pinging bitbucket.org? Could you try and tell what happens?
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It appears that FishEye can't connect to BitBucket's SSH URL, I had to use HTTPS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.