Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Integrating bamboo with Git repository issue

Hello Everyone,

 

I am facing an issue while Test connecting to Git Repository from bamboo.

We couldn't connect to the repository. Here's what we got back:

Could not test connection using selected authentication method. Please save repository configuration first to upload the private key file.

 

Thanks,

Pradeep Y.

6 answers

Ran into this issue as well. Didn't realize it was as easy as it was to fix. It's saying it can't TEST connection until you've saved the repo (dumb yes, but that's whats going on) 

You go to the bottom, click save then go into linked repos and then you can test and edit the repo. Not that intuitive but it works.

Select the username and password authentication type works for me  

I am facing similar type of issue using Bamboo-6.0.0, following are the few details of creating new repository:

Repository host : Git

Name : TESTREPO1

Repository URL : git://<Host Name for on-premises Git Server>:<Port no for on- premises Git Server>/<Git Project path>

Authentication type  : SSH private key

             Choose "Use shared credentials"

Shared credentials  : <Shared Credential what already created>

Branch : master

Now while click on "Test connection" button getting bellow error:

fatal: protocol error: bad line length character: HTTP

Kindly let me know how to resolve this issue....

Thanks in advance.

Hey,

I am facing "We couldn't connect to the repository. The details you provided were invalid." when I tried to connect the Test Connection.

Thanks Jobin.

 

I have already uploaded the private key. Even though it is throwing the error.

Same, through source tree with the same private key without any problems could checkout and push.

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 05, 2016

Looks like you are using SSH protocol. It so, you need to upload a valid private key as suggested in the error message. Go to the linked repository and edit it to make the changes!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events