I am trying to clone a private repo from another repo's pipline getting handshake error

Yaniv November 8, 2021

I am trying to clone a private repo from another repo's pipline getting handshake error

 

So say i have a main server that's (repo 1), and i want to extract some of code that repeat to another private repo, that's (repo 2). 

During deployment pipline of repo 1, i want to clone repo 2.

So far i've tried generating ssh keys  and adding them in both directions and from 1 direction only too. but i keep getting this error during deployment: 

```fatal: unable to access 'xxxxxxxxxxxxxxxxxxxxx.git/': gnutls_handshake() failed: Handshake failed```

 

So far what it tried:

1. generating ssh key from repo 1, and adding them to repo 2.

2. generating ssh key from repo 2, and adding them to repo 1.

3. generating ssh keys on both repos and adding them to both repos

3. tried to clone with https://username:password....

 

nothing works so far i keep getting the same error.

I've also submitted a ticket to bitbucket but that seems kinda slow.

 

Thansk.

1 answer

1 accepted

1 vote
Answer accepted
Yaniv November 8, 2021

Found the problem ..

my cloning comment use https instead of ssh version .. close please

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events