Creating a Confluence Gadget in JIRA Fails
症状
Adding a Confluence Page Gadget to the JIRA Dashboard fails with the below 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.
ソリューション
- Disable GZip compression in JIRA as in Configuring JIRA Options.
- Disable HTTP Compression in Confluence as described in Compressing an HTTP Response within Confluence.
最終更新日 2016 年 4 月 7 日
Powered by Confluence and Scroll Viewport.