Git push appears to hang client with many git rev-list operations logged

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Problem

Git client hangs on push with only the following item logged continuously in the application log for the unique transaction ID. The atlassian-bitbucket.log contains many of these messages:

2014-10-08 14:57:30,165 DEBUG [AtlassianEvent::thread-2] charlie @17ABCDEx861x17838x1 xyzabc 10.10.10.10 SSH - git-receive-pack '/test/test_repo.git' com.atlassian.stash.scm.BaseCommand Executed /usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin --

Cause

3rd party plugin processing takes a lot of time and prevents the process from completing before the request times out. Known plugins to have caused this issue:

Workaround

Enable "Safe Mode" in the UPM and try the push again:

  1. Administration > Manage add-ons
  2. Select the "Enter safe mode" link towards the bottom of the page.
  3. Confirm the switch to Safe Mode by select the "Enter safe mode" button in the popup window.
  4. Retry the push command from the client.
  5. Exit out of Safe Mode by selecting the "Exit safe mode and restore previous configuration" link.

Alternatively, you can do it using the REST API:

Resolution

Contact the 3rd party plugin developer and report the issue.

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.