Bitbucket Server hangs showing "Loading add-on Mirror"
プラットフォームについて: Data Center のみ - この記事は、Data Center プラットフォームのアトラシアン製品にのみ適用されます。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
In the Bitbucket Server administration panel a message is displayed saying "Loading add-on Mirror" indefinitely when performing one of these activities:
Trying to select which projects to mirror to a Bitbucket Smart Mirror:
Trying to access the Atlassian Troubleshooting and Support Tools for a Bitbucket Smart Mirror:
診断
環境
Bitbucket Data Center with at least one Smart Mirror configured, with that Smart Mirror running behind a reverse proxy server
原因
The reverse proxy server is setting an HTTP response header that prevents the content rendered by the mirroring add-on from being displayed.
The user interface used to select which projects to synchronize to a Smart Mirror or to display the Atlassian Troubleshooting and Support Tools is embedded into the administration panel via an iframe
. If the reverse proxy has been configured to send the X-Frame-Options
header with the value SAMEORIGIN
, the browser will not load any content embedded via iframe
s, and as a result the required user interface elements will not be displayed correctly.
For instance, Apache HTTP Server can be configured to behave in this way (i.e. set this header) with the following directive:
Header always append X-Frame-Options SAMEORIGIN
ソリューション
To resolve this problem, adjust the configuration of the load balancer so it no longer sets the X-Frame-Options
header with SAMEORIGIN
as its value.