Manage Apps hits an unexpected error
プラットフォームについて: 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 は除く
要約
Navigating to Confluence Administration » Manage Apps shows an unexpected error and the list of installed Apps is not displayed.
There are no errors in the atlassian-confluence.log
, no errors when reviewing the HAR file, only this error on the Manage Apps screen is displayed:
An unexpected error occurred. Refer to the logs for more information.
診断
Expand the Browser Network tools and click on the Console tab to review for any Network errors, specifically net::ERR_INVALID_CHUNKED_ENCODING
.
...
.
batch.js?locale=en-US:1965 DEPRECATED JS - Dropdown constructor has been deprecated and will be removed in a future release. Use Dropdown2 instead.
at w (https://myconfluencesite.com/download/contextbatch/js/admin,atl.admin,-_super/batch.js?build-number=8401&cache=false&healthcheck-resources=true&hostenabled=true&locale=en-US&whisper-enabled=true:5:6252)
p @ batch.js?locale=en-US:1965
batch.js?build-number=8401&healthcheck-resources=true&hostenabled=true&locale=en-US&whisper-enabled=true:261 GET https://myconfluencesite.com/rest/plugins/1.0/?_=1590130083569 net::ERR_INVALID_CHUNKED_ENCODING 200
XMLHttpRequest.send @ batch.js?build-number=8401&healthcheck-resources=true&hostenabled=true&locale=en-US&whisper-enabled=true:261
send @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-requirejs.js:34
ajax @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-requirejs.js:34
(anonymous) @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-manage-plugins-resources.js:90
(anonymous) @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-requirejs.js:34
c @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-requirejs.js:34
fireWith @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-requirejs.js:34
u @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-requirejs.js:34
(anonymous) @ com.atlassian.upm.atlassian-universal-plugin-manager-plugin:upm-requirejs.js:34
- Accessing <confluence-reverse-proxy-base-url>/rest/plugins/1.0/?_=1590130083569 directly works
- Accessing <confluence-tomcat-sever>:8090/rest/plugins/1.0/?_=1590130083569 directly also works
- Only when accessing <confluence-reverse-proxy-base-url>/plugins/servlet/upm (i.e. the UPM screen) - the REST call to /rest/plugins/1.0/?_=1590130083569 fails with the net::ERR_INVALID_CHUNKED_ENCODING error
原因
It was confirmed that the Reverse Proxy (HAProxy) was the cause of the net::ERR_INVALID_CHUNKED_ENCODING error. The exact root cause from HA Proxy could not be reproduced in the Atlassian lab environment.
Work Around
Access UPM directly on Tomcat (i.e. <confluence-tomcat-sever>:8090/plugins/servlet/upm) bypassing the Reverse Proxy.