User-installed apps health check fails in Data Center when configuring CDN

アトラシアン ナレッジベース

このページの内容

お困りですか?

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

コミュニティに質問


This Knowledge Base article was written specifically for Atlassian Data Center applications. The contents of this article do not apply to Server installations or the Atlassian Cloud platform.

問題

The CDN administration screen in your Data Center application displays the following failed health check:

User-installed apps may not be compatible

The following apps rely on deprecated code which can lead to problems when caching assets. 

原因

This warning is displayed when we detect that a Marketplace or other user-installed app is using a deprecated method, which may result in assets being cached incorrectly. 

In many cases this won't cause any problems and the app will work as expected, but in some cases, particularly if the app provides per-user personalisation, some user-specific assets or data could be cached and then leaked to all users. 

For example, if an app allowed you to personalise the site colour scheme on a per-user basis, and the first time someone viewed the site their personalised CSS was cached, it would then be served to all other users.  A more extreme example might involve actual content or user information being cached. 

ソリューション

To resolve this issue, you should report the problem to the app vendor, and either:

  • don't enable CDN until an updated version of the app is available
  • disable the app until the vendor can provide an updated version of the app.

Alternatively, you could continue using the app, with CDN enabled. If you choose to do this, we recommend you thoroughly test the app in your staging environment, with various scenarios involving per-user personalisation before deciding to do this. 


Information for App vendors

In Confluence 6.0 and Jira 7.0 we moved to stateless delivery of JavaScript and CSS resources. Apps that don't use the new APIs for web-resource transforms and conditions may cause static assets to be cached incorrectly, when CDN is enabled. 

See https://developer.atlassian.com/server/framework/atlassian-sdk/stateless-web-resource-transforms-and-conditions/ to make sure your app is using the new APIs for web-resource transforms and conditions. 



説明 User-installed app is using deprecated code warning when enabling CDN in Data Center
製品Jira、Confluence

最終更新日 2019 年 6 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.