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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Mirror Hook don't work

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!

1 answer

I wish I had an answer but I got that too.

 

anybody home ? 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

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...

464 views 4 4
Read article

Community Events

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

Events near you