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

Error when trying to use Bitbucket Migration tool

Laura Krebiehl June 16, 2021

Hi.

I'm trying to use the Bitbucket import/migration tool to import an existing Bitbucket Server repository to Bitbucket Cloud.  However I'm receiving the following error message:  Please help.image.png

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2021

Hi Laura and welcome to the community.

Based on the error in the screenshot, it looks that Bitbucket Cloud cannot reach your Bitbucket Server instance due to some issue with your proxy.

One possibility is that Bitbucket Cloud IPs are not whitelisted on your server or it could be because of some other configuration on your proxy.

You can check in this document which IPs you need to whitelist for Bitbucket Cloud, if necessary:

As a workaround, you can also migrate the repo the following way:

1. Take a mirror clone of the repo from Bitbucket Server

git clone --mirror URL_OF_BITBUCKET_SERVER_REPO

2. Create an empty repository in Bitbucket Cloud.

Make sure that the "Include .gitignore?" option in the "Create repository" page is set to "No" so that the repo is empty.

3. Then push from the mirror clone to the empty Bitbucket Cloud repo

git push --mirror URL_OF_BITBUCKET_CLOUD_REPO

Please feel free to let me know if you have any questions!

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events