Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,430
Community Members
 
Community Events
165
Community Groups

Connecting to Git Repo from Fisheye

Hi,

While trying to add an existing git repo, the connection to the repo fails if we have special characters in the password (especially @ symbol) when using Authentication style as "Password for http(s)". The returned error code is 401.

The connection works fine if the password has no special characters.

Any help on this behaviour and how it can be resolved?

TIA

6 answers

0 votes
Nick Atlassian Team Apr 09, 2014

If you are using Stash, the upcoming release of FishEye (3.4) will make the following process a single-click operation once you have an Application Link established between FishEye and Stash.

However, until then - you must:

* In FishEye

** when adding a new Git repository select: "Generate key/pair for SSH"

** Generate

** Copy the public key shown to your clipboard

* In Stash

** Go to: Manage account

** SSH Keys

** Add Key

** Paste in the key you just copied and save.

Then go back to FishEye and hit "Test connection".

Now, fisheye will be able to fetch and clone the repository in Stash via SSH and their will be no need for you to embedd any passwords in the URL.

Can you tell me how to do that . I am new to GIT

Nick Atlassian Team Apr 08, 2014

Where is your git repository hosted ?

* Stash,

* Bitbucket,

* Github

* elsewhere ?

0 votes
Nick Atlassian Team Apr 07, 2014

It is best practice not to embedd the password in your URL when connecting to a git repo from FishEye.

Is there any reason you can't use the SSH protocol and exchange public keys ?

Even i am facing same issue . i am abel to connect using my account but not with generic account havin @ in pasword

0 votes
Jeff Thomas Atlassian Team Dec 31, 2013

Try encoding the @ symbol in your password with %40. So if your password is 'P@ssword', it would become 'P%40ssword'.

That should be a safe way to encode the @ symbol in the URL that's being used.

Well that didnt help either :( . We got the same error when we tried that way. For now, we have created a dummy user that doesnt have such characters in its password, but the problem is still open.

Jeff Thomas Atlassian Team Jan 20, 2014

I just created a user in our Stash instance with a password of "stash@user" and connected Fisheye to that repository using the password without any issues. Which version of Fisheye are you using and where is the repository that you're trying to connect to hosted?

Our setup is rather simple. We have GIT installed on the same server as where the Fisheye is installed.

Trying to add a new repo and providing a password with @ symbol still doesnt work. Returns a 401. The username and password are correct. And it works when we give a username and password that doesnt have @. Our Fisheye is at 3.1.5

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

319 views 0 10
Join discussion

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