Fix internal server error when creating a Confluence gadget in Jira DC

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

Adding a Confluence Page Gadget to the Jira Dashboard fails with the following error:

(自動移行された画像: 説明は一時的に利用できません)

atlassian-jira.log に次のエラーが返される。

2013-04-15 12:28:58,035 http-bio-8080-exec-22 ERROR captain.planet 748x116340x1 1skg2vg 10.80.0.97,127.0.0.1 /plugins/servlet/gadgets/makeRequest [renderer.internal.http.HttpClientFetcher] Unable to retrieve response java.io.EOFException at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:264) at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:254) at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:163) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:78) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:90) at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher$GzipDecompressingEntity.decorate(HttpClientFetcher.java:251) at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher$InputStreamDecoratingHttpEntity.getContent(HttpClientFetcher.java:232) at org.apache.http.conn.BasicManagedEntity.getContent(BasicManagedEntity.java:87)

原因

Jira is connecting to Confluence through a reverse proxy that has GZip compression enabled. As both Jira and Confluence also have GZip compression enabled, this is causing problems as double compression is applied.

ソリューション

  1. Disable GZip compression in Jira as in Configuring Jira Options.

  2. Disable HTTP Compression in Confluence as described in Compressing an HTTP Response within Confluence.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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