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

Linked git repository: Cannot decode connection params

jweathers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2022

I'm trying to setup Bamboo and connect to git repositories again for the first time in several years. When I try to connect to a Bitbucket Cloud repository with a username and password, Bamboo tells me its request to retrieve the list of available repositories was not authenticated (yes, of course, I verified the credentials).

So I switched to a generic git repository, and regardless of whether I use an SSH key or username and password (and save the repository config with the credentials first, then return to the repository config to "Test connection"), I keep seeing an alert just below the "Test Connection" button that says:

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

Cannot decode connection params

Versions:

Bamboo 8.0.4 build 80012

Ubuntu 20.04.3

openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode)

 

Can anyone help me out here?

2 answers

1 vote
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2022

If you see this error for SSH key authorization please check provided passphrase is valid for given SSH key

jweathers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2022

I'm using an SSH key without a passphrase.

0 votes
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2022

Is the SSH key in OpenSSH format (which would be the default when using keygen)?

For Bamboo up to v8.0.4 to be able to use it, SSH key must be in PEM format. We fixed that in v8.0.5

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events