Webhook fails with HTTP 403 Forbidden

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

要約

Jira tries to fire a webhook but gets an HTTP 403 response from the webhook server. 

環境

This error may occur in Server or DC environments with an outbound proxy.

診断

  • The Jira logs show a warning with the HTTP code 403 when firing the webhook: 

    2020-01-17 06:31:25,837 httpclient-callbacks:thread-93 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Client error - 403 when posting to web hook at '<webhook_url>'
  • Check if the webhook host is included in the JVM argument -Dhttp.nonProxyHosts.
    Example

    -Dhttp.nonProxyHosts=localhost|127.0.0.1|local.example.com

原因

Jira is going through the outbound proxy to fire the webhook and the proxy forbids the request.

ソリューション

Add the webhook host to the JVM argument -Dhttp.nonProxyHosts.




最終更新日: 2020 年 1 月 23 日

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

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