Troubleshooting Gadgets

お困りですか?

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

コミュニティに質問

症状

This KB article is relevant if you are having problems integrating Bamboo gadget into other applications.

Common symptoms include;

  • Bamboo Gadgets in Jira Dashboard does not authenticate.
  • Can't successfully 'Login & Approve' bamboo gadgets.
  • Bamboo Gadgets doesn't show content.

Possible Error messages in the logs

  • oauth_problem=timestamp_refused
  • Remote API not activated for this JIRA installation
  • oauth_problem="signature_invalid"

原因

There a many factors and parameters that need to be 'right'. Please check the tasklist in the following Resolution section.

A possible Error Scenario - Bamboo's Base URL

Bamboo and JIRA run behind a reverse proxy. Bamboo and JIRA are reachable from the outside world as https://bamboo.domain.com and https://jira.domain.com. Thus the bamboo server in jira is configured as https://bamboo.acme.com

Because this is the way bamboo is reached from JIRA, the proxy may terminate the https protocol and talk to bamboo via http as the base url of bamboo is set to http://bamboo.acme.com.

When registering jira (https://jira.domain.com) as an oauth consumer in bamboo http://bamboo.domain.com is set as the provider. When jira comes to use bamboo gadgets it will send an oauth request to bamboo based on the stored bamboo server info in jira (https://bamboo.domain.com). Bamboo will receive this request but will not be able to identify itself as https://bamboo.domain.com (because bamboo's base url is http://bamboo.domain.com). Thus bamboo's oauth module will respond with 'signature_invalid'.

Authentication between jira and bamboo will fail.

ソリューション

  1. Confirm that the following System apps are enabled on Bamboo.

    1. Atlassian Bamboo gadgets plugin
    2. Atlassian Gadgets API
    3. Atlassian Gadgets SPI
  2. Check your JIRA and Bamboo server for correctness, using the list below:

    1. Bamboo server's Base URL

    2. Jira server's Base URL

    3. Jira remote api access is enabled

    4. Bamboo remote api access is enabled

    5. Bamboo has plans and build results

    6. Time offset between Jira and Bamboo server

    7. Apache HTTPD configuration for Jira and Bamboo

    8. Does Bamboo have a different security mode than Jira

  3. Add JIRA as an OAuth consumer in Bamboo.
  4. Re-index Bamboo to ensure the data source for the gadgets is in a defined state.





























最終更新日 2021 年 7 月 21 日

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

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