Manage Apps hits an unexpected error

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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.

*Except Fisheye and Crucible

Summary

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.

(Auto-migrated image: description temporarily unavailable)

Diagnosis

Expand the Browser Network tools and click on the Console tab to review for any Network errors, specifically net::ERR_INVALID_CHUNKED_ENCODING.

Javascript Console

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... . 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

  1. Accessing <confluence-reverse-proxy-base-url>/rest/plugins/1.0/?_=1590130083569 directly works ✔️

  2. Accessing <confluence-tomcat-sever>:8090/rest/plugins/1.0/?_=1590130083569 directly also works ✔️

  3. 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

Cause

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.

Solution

Work Around

Access UPM directly on Tomcat (i.e. <confluence-tomcat-sever>:8090/plugins/servlet/upm) bypassing the Reverse Proxy.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.