We try to mirroring to instance of Bitbucket server installed in our LAN using Mirror Hook.
We configured it in the two instances but when I commits or push changes I get the following error:
-repositorio.git --force --atomic +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/*
2020-02-20 17:23:41,450 ERROR [MirrorRepositoryHook:thread-3] c.a.s.i.c.HazelcastBucketedExecutor Attempt 5 of 5 at processing bucket 'MirrorRepositoryHook@1:http://ip:7990/scm/test/primer-repositorio.git' for executor 'MirrorRepositoryHook' failed:
com.atlassian.bitbucket.scm.CommandFailedException: '/usr/local/bin/git push --prune http://user:pass@ip:7990/scm/test/primer-repositorio.git --force --atomic +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/*' exited with code 128 saying: fatal: unable to find remote helper for 'http'
We have access between the servers, for testing purpose we running the two instances with a user with root privilegies and the version of Bitbucket is 6.9.1.
When we curl to the remote server from the principal we get the following error:
[root@bitbucket-host ~]# curl -L http://remote-ip:7990/scm/test/primer-repositorio.git
Invalid request from host principal-ip: Note that Bitbucket does not support Git's legacy HTTP transport protocol
Can any help me with this? Or they know any other method that I can use to mirroring two instances of Bitbucket?
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events