500 Error When Viewing Commits

お困りですか?

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

コミュニティに質問


問題

In some circumstances when a commit is really large, Bitbucket Cloud's UI will throw a 500 error upon clicking the commit hash link.

This happens when Bitbucket Cloud tries to load a large commit; and after a while it simply timeout - because the commit is too large to load.

診断

You can confirm the issue by running this command:

$ git log -p <your_commit_hash> |wc -l

For example, if the output of the command appears to be:

$ git log -p <your_commit_hash> |wc -l
5069820 #outputresult

This means your commit has 5.069.820 lines of code. Due to its size, it is causing the error 500 or timeout when you try to access that.

回避策

You should be able to view your commit details that you wish to see in the Bitbucket Cloud UI through Git, by running this command in the local repository:

$ git show -p <your_commit_hash>

最終更新日 2017 年 4 月 5 日

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

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