Confluence Data Center を IPv6 環境で実行している場合に、Firefox でエディタを読み込めない
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
Users see a 'Can't load the editor' error in Firefox when attempting to edit a page, and Confluence Data Center 6.9 (or later) is running in an IPv6 environment.
原因
This problem is caused by a raw IPv6 address being used for the Synchrony URL in the Synchrony startup script, for example:
# URL that the browser uses to contact Synchrony
#SYNCHRONY_URL="http://[1234:dal:698:7d01:20ce:53f8:bcf0:ab1d]:8091/synchrony"
and in Confluence's bin/setenv
file.
#CATALINA_OPTS="-Dsynchrony.service.url=http://[1234:dal:698:7d01:20ce:53f8:bcf0:ab1c]:8091/synchrony/v1 ${CATALINA_OPTS}"
The examples above are for Linux, but the same applies in Windows environments.
回避策
To avoid this problem, you will need to specify the DNS hostname for Synchrony, instead of using the raw IPv6 address.
- Stop Confluence and Synchrony.
Edit the
start-synchrony.sh
/start-synchrony.bat
script, and specify the DNS hostname for Synchrony. Here's an example:Linux# URL that the browser uses to contact Synchrony SYNCHRONY_URL="http://confluence-ipv6.examplesite.com:8091/synchrony"
Windowsrem URL that the browser uses to contact Synchrony set SYNCHRONY_URL=http://confluence-ipv6.examplesite.com:8091/synchrony
Edit
<confluence-install-directory>/bin/setenv.sh
orsetenv.bat
and update thesynchrony.service.url
system property:LinuxCATALINA_OPTS="-Dsynchrony.service.url=http://confluence-ipv6.examplesite.com:8091/synchrony/v1 ${CATALINA_OPTS}"
Windowsset CATALINA_OPTS=http://confluence-ipv6.examplesite.com:8091/synchrony/v1 %CATALINA_OPTS%
- Restart Synchrony, then restart Confluence.