Application Link failed with "No application link found with the id" error

お困りですか?

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

コミュニティに質問

症状

Establishing an Application link from another Atlassian application to Bamboo will succeed. However, upon checking its integration, such as the Build tab on JIRA project, which is connected to Bamboo, the application link will fail. The Application link method is using OAuth, and it will fail with the following error message.

From Bamboo:

The request token you are trying to authorize is not valid. Please try another token. (Close this dialog, then go back to the site requesting access and tell it to try again.)

Other Application:

Note: The Application ID could be different among different JIRA or Bamboo servers

Authentication failed!
No application link found with the id "c074c52d-5bed-389b-8b79-86b3ef4ef802"

診断

With OAuth authentication, the server needs acknowledgement from the other application. In order to get approved, the application will be redirected to the other application. For example from JIRA to Bamboo and vice versa. After approval, it should get redirected to the default application. Check on the browser URL, if it didn't get redirected back to the default application, it means you encountered this issue.

原因

This issue is caused by the rewrite rule in proxy settings. The URL can't be redirected back, due to the rule not letting the application do so.

ソリューション

Bypassing the rewrite rule in your proxy settings or HTTP server should solve this issue.

If you are using IIS, please do not use the "reverse rewrite host in response headers" configuration. Check the Proxying Atlassian server applications with Microsoft Internet Information Services (IIS) to deselect the "reverse rewrite host in response headers" configuration.

最終更新日 2023 年 6 月 12 日

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

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