git push timeout

Have setup Atlassian Bitbucket on my own dedicated server, set firewall rules for every port known to man (22,443,7999,7990) on the server but get a timeout whenever I try to push to remote. I also get a timeout doing an ssh -tv.

Any help would be gratefully received as I am about to begin tearing my hair out!

2 answers

This widget could not be displayed.

I'd suggest doing a couple of tests from the server to pinpoint the problem:

  • have a look at <BITBUCKET_HOME>/logs/atlassian-bitbucket.log to see whether any problems are reported (e.g. SSH server not starting up)
  • check the SSH server status and port in Administration > Server Settings. Is it running at the expected port?

On the server:

  • run git ls-remote ssh://git@localhost:7999/<project-key>/<repo-slug>.git If this works, you've verified that SSH works
  • Same for HTTP, but use http://<username>@localhost:7990/bitbucket/scm/<project-key>/<repo-slug>.git
  • With a test repo, try to clone, make a change, commit it and push the change to the server

If all of this works, it looks like a problem with the firewall or proxy server if you have that set up.

If you get stuck, you can always open a support ticket on https://support.atlassian.com and get help from our support engineers.

 

This widget could not be displayed.

I can just add if it's a multi-homed server (Multiple interfaces) make sure you have the correct routes setup.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

121 views 5 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you