Universal Plugin Manager Fails with UrlSchemeMismatchException error

お困りですか?

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

コミュニティに質問

症状

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)

原因

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"/>

最終更新日 2016 年 3 月 30 日

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

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