BAD_URL; Request not allowed to access URL

このページの内容

お困りですか?

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

コミュニティに質問

問題

When using Trusted Applications, a request may fail with the error BAD_URL, followed by the URL that failed. This causes the request to fail. Other functionality between the two applications may be unaffected.

The following will appear in the application log file

BAD_URL;	Request not allowed to access URL: {0};	["/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml"]

診断

環境

  • 2 つのアプリケーションがアプリケーション リンクを使って接続されている
  • The authentication method used is Trusted Applications

原因

The Source application made a request to a URL, which is part of the Destination application. The "Incoming Authentication" does not list this URL in the "URL Patterns" section.

ソリューション

 オプション 1

  • Add the beginning of the URL to the "URL Patterns" section. For example, if the BAD_URL reported when connecting to JIRA was /sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml, then we must add this URL to JIRA's Incoming URL patterns.

オプション 2

  • Removing all URL patterns from the "Incoming Authentication" will allow all requests to come into the Destination application.

Atlassian recommends OAuth

All new Application Links are created using OAuth. It provides all of the functionality of Trusted Applications and Basic Authentication. OAuth allows applications to authenticate and authorise users without accessing their credentials.

その他の情報

Last modified on Mar 30, 2016

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

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