Jira Gadgets not working properly with Confluence behind Apache

お困りですか?

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

コミュニティに質問

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

要約

After adding any Jira Gadget to Confluence (through the Gadget Feed), the data is partially added to Confluence. The Preview will be blank and it will appear a "Please complete the configuration in the preview area first" message, but users are unable to complete or add any data.

環境

  • Confluence Server または Data Center
  • Confluence and Jira are running behind an Apache reverse-proxy

診断

  • The preview area will be blank and users are unable to add any data to it.
  • The message "Please complete the configuration in the preview area first" will appear next to the Insert button.
  • The Insert button will be inactive.
  • The Web Browser Console will display the following message:

    Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "default-src 'self' 'unsafe-inline' 'unsafe-eval' ". Note that 'style-src-elem' was not explicitly set, so 'default-src' is used as a fallback.

原因

  • The Apache reverse-proxy is blocking external resources (fonts, scripts, XML).

ソリューション

  • Disable the Apache proxy; or
  • Update the Apache proxy configuration to allow downloading and uploading resources from Jira's server.

最終更新日: 2020 年 10 月 20 日

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

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