UPM Plugin shows error message when trying to install a plugin

お困りですか?

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

コミュニティに質問

症状

A message such as the following is displayed when trying to install a plugin using the Universal Plugin Manager:

The system attempted to connect to http://<SOME_IP_ADDRESS>:8085/rest/plugins/1.0/pending/31780996-ff30-4041-8405-642cf500210b to
 retrieve the status of your operation, but failed. This may indicate a 
problem with the base URL configuration of your instance. Try refreshing
 the page to see if the operation completed, and see the UPM documentation for more details about this error.

The following information is logged:

jvm 1    | 2012-06-26 11:19:48,823 INFO [qtp2765838-134] [AccessLogFilter] admin POST http://localhost:8085/rest/plugins/1.0/?token=-5053524581139985616 130206kb
jvm 1    | 2012-06-26 11:19:48,839 INFO [pool-9-thread-1] [PluginDownloadServiceImpl] Downloading plugin artifact from [https://marketplace.atlassian.com/download/plugins/com.atlassian.devrel.developer-toolbox-plugin/version/3?from=upm], with username [null]...
jvm 1    | 2012-06-26 11:19:48,879 INFO [qtp2765838-133] [AccessLogFilter] 192.168.132.63 OPTIONS http://192.168.132.63:8085/rest/plugins/1.0/pending/31780996-ff30-4041-8405-642cf500210b?_=1340720388846 129266kb
jvm 1    | 2012-06-26 11:19:49,903 INFO [pool-9-thread-1] [HttpMethodDirector] Redirect requested but followRedirects is disabled
jvm 1    | 2012-06-26 11:19:52,437 INFO [pool-9-thread-1] [ScanningPluginLoader] No plugins found to be installed
jvm 1    | 2012-06-26 11:19:52,584 INFO [pool-9-thread-1] [ScanningPluginLoader] Plugin Unit: C:\Atlassian\atlassian-bamboo-4.1_mysql\bamboo_home\plugins\plugin.518961503086981909.developer-toolbox-plugin-1.1.2.jar (1340720392428) created
jvm 1    | 2012-06-26 11:19:52,690 INFO [pool-9-thread-1] [WaitUntil] Plugins that have yet to be enabled: [com.atlassian.devrel.developer-toolbox-plugin], 60 seconds remaining
jvm 1    | 2012-06-26 11:19:53,703 INFO [pool-9-thread-1] [BambooPluginManager] Adding resource bundle: developer-toolbox
jvm 1    | 2012-06-26 11:19:53,728 INFO [pool-9-thread-1] [PluginSettingsAuditLogService] Tue Jun 26 11:19:53 BRT 2012 anonymous: Installed plugin Atlassian Developer Toolbox (com.atlassian.devrel.developer-toolbox-plugin version 1.1.2)

Although the message appeared in the web interface, the plugin was installed per the reference in the logs and also as can be seen by refreshing the "Manage my plugins" tab.

The log snippet above identifies that the Atlassian Developer Toolbox plugin was installed – this applies to any plugin being installed using the UPM.

原因

An incorrect Base URL is configured. For example, the web browser shows http://localhost:8085, but the Base URL shows http://<MY_IP_ADDRESS>:8085

ソリューション

Go to Bamboo Administration > System > General Configuration and change the Base URL from http://<SOME_IP_ADDRESS>:8085 to http://<YOUR_HOST>:8085

 

 

最終更新日 2016 年 11 月 24 日

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

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