Manage Apps hits an unexpected error

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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.



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
...
.
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 (tick)
  2. Accessing <confluence-tomcat-sever>:8090/rest/plugins/1.0/?_=1590130083569 directly also works (tick)
  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 (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.

Work Around

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


Last modified on Jul 3, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.