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'
at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:47)
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:111)
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:208)
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?
Thanks!
I wish I had an answer but I got that too.
anybody home ?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.