Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How does 'Smart mirror push proxy' works?

Rudy Holtkamp
Community Champion
September 27, 2017

Hi,

I had a question about smart mirrors and the push proxy as it was introduced in Bitbucket 5.2. The only information that I could find was this text:

Smart mirror push proxy

Smart mirrors in Bitbucket Data Center help global teams speed up pull operations in high-latency and low-bandwidth environments. These read-only copies of repositories stay updated automatically and inherit all the rules and permissions configured on the master server. Previously, continuous integration servers and developers using mirrors needed to maintain 2 URLs, one for fetching from the mirror and the other for pushing to the primary server. In Bitbucket Data Center 5.2, we’re introducing push proxying, which combines both operations into a single HTTP or SSH URL – one less thing to worry about in your day to day development activities.


How does it work? Do I need to configure something on my primairy server? When I create a new clone from my mirror, my remotes (fetch/push) both point to the mirror. And when I try to push code I will get the error: Git failed with a fatal error.fatal: Could not read from remote repository. 

Could somebody explain to me what I'm doing/configuring wrong?

 

Kind regards 

Rudy

1 answer

0 votes
Azfar Masut
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.
November 28, 2019

AFAIK, it should be handled automatically by the mirror setup, no further configuration needed other than the one documented in the setup guide. Additional info, what I understand from Atlassian is that this push proxying feature only available and fully implemented with Bitbucket Server 5.2 (in 5.1 there are push proxying for HTTP connections, in 5.2 SSH was added).

There could be multiple reason on your problem, cert, proxy, firewall, git client, command used, etc. The best is to raise to support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events