Universal Plugin Manager Fails with UrlSchemeMismatchException error

お困りですか?

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

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

症状

Attempting to update a plugin using the Universal Plugin Manager in Jira (via the Manage Add-On functionality), results in an error message similar to the following:

"The system attempted to connect to http://xxx.xxxx.xxx/rest/plugins/1.0/pending/f087d359-7220-405b-ae6c-7cedeefdb55d to retrieve the status of your operation, but failed. This can indicate a problem with the base URL configuration of your instance. Try refreshing the page to see if the operation completed, and see UPM documentation for more details about this error."

atlassian-jira.log に次のメッセージが表示される。

2014-09-30 11:22:08,481 http-bio-8080-exec-5 ERROR tela 682x282x3 1pdxbmh 192.100.10.00,100.100.10.100 /plugins/servlet/gadgets/dashboard-diagnostics [dashboard.internal.diagnostics.DiagnosticsServlet] DIAGNOSTICS: FAILED
com.atlassian.gadgets.dashboard.internal.diagnostics.UrlSchemeMismatchException: Detected URL scheme, 'http', does not match expected scheme 'https'
	at com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics.checkExpectedScheme(Diagnostics.java:64)
	at com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics.check(Diagnostics.java:36)
	at com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet.executeDiagnostics(DiagnosticsServlet.java:97)

環境

Jira Data Center on any version from 8.0.0.

原因

The server.xml used is not configured properly to use a proxy.

ソリューション

  • Open <JIRA Installation>/conf/server.xml in a text editor.
  • Make sure that the proxyName and proxyPort are configured with the hostname and port of your reverse proxy (please refer the example below):

    proxyName="proxy_url_here"
    scheme="https"
    secure="false"
    proxyPort="port_number_here"/>

     

最終更新日: 2025 年 1 月 21 日

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

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