"An error occurred" is displayed when viewing specific files in a Pull Request in Bitbucket Server.

お困りですか?

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

コミュニティに質問

プラットフォームについて: 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 は除く

 

要約

When viewing some files in a Pull Request in Bitbucket Server or Data Center an error is displayed saying something went wrong. Clicking the Reload the page button does not solve the issue.



環境

  • Any version of Bitbucket Server or Data Center
  • A reverse proxy or load balancer is deployed in front of Bitbucket Server or Data Center

診断

The error happens in different browsers and affects multiple users. Other files in the Pull Request may be accessible, while accessing others may result in a 403 Forbidden  error being returned such as the one below:

Inspecting the source code of the 403 Forbidden error page may show something similar to this:

<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

There are no entries in the <BitbucketHome>/log/atlassian-bitbucket-access.log  file that would show attempts to access the page.

原因

The reverse proxy or load balancer itself is not allowing access to the URL, potentially due to security restrictions configured in it.

These restrictions may prevent access to URLs that contain certain keywords, file extensions, special characters or patterns.

ソリューション

Review the log files of the reverse proxy or load balancer to identify why the request to the specific URL was denied by it, and then adjust the configuration accordingly to allow access to the URL(s) in question.


最終更新日 2023 年 4 月 12 日

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

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