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

I can't create or connect to a remote repository on Bitbucket

When I try to create a remote repo (private or public) on Bitbucket, Sourcetree ends up hanging without actually making one. If I make it manually via Bitbucket's website and try to push my local repo to the one I created it fails with following message:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream gg-bitbucket refs/heads/master:refs/heads/master 
Pushing to
POST git-receive-pack (chunked)
error: RPC failed; result=22, HTTP code = 413
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
Completed with errors, see above

It works fine with Github.

2 answers

I'm having the same problem. Did you ever solve it?



0 votes

Best to take this to support, as it's not really a product question. That channel is more geared towards troubleshooting. Mind emailing us at

Suggest an answer

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

Atlassian supported Jenkins integration for Bitbucket Server

We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...

436 views 0 9
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