bitbucket pull request and mirroring

I'm having a problem getting Bitbucket to push synchronization events to the Bitbucket mirror when I merge a pull request from the Bitbucket UI.  A scenario of the problem is below.


#####from a git client####

git clone ssh://git@bitbucketmirror:7999/bitbuckettest/test/testrepo.git

git remote set-url --push origin ssh://git@bitbucketprimary:7999/bitbuckettest/test/testrepo.git

git checkout remote some_remote_branch

git add testfile

git commit -m "add it" testfile

git push


##########At this point my testfile is added to my repo and I can see the sync to the mirror repo for my branch####


Via the console I go to the repo and create a pull request and merge to master.


### back to remote git client###

git branch master

git pull

Already up-to-date


I don't see the testfile come down until the "Batch synchronizing" action happens on the mirror.  I verified my ssl certs are working correctly between the mirror and the primary server with SSLPoke.


1 answer

0 votes

I recommend you open a support case at, so that we may collect more information on your setup.

If you would like to troubleshoot this for yourself: it sounds like the webhooks the primary Bitbucket instance is firing off may not be received by the mirror. The most common cause for this is misconfigured SSL certificates, or using self signed certificates, which will not be trusted by the mirror unless explicitly configured. 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

286 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you