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

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

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

原因

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:

回避策

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:

ソリューション

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

 

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.