Unable to authenticate to Jira Server/DC from the Atlassian VS Code Extension

お困りですか?

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

コミュニティに質問

プラットフォームについて: 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 は除く

問題

When attempting to connect to your Jira Data Center instance via the "Add Custom Jira Site" feature of Atlassian Jira and Bitbucket (Official) VS Code extension, the login fails with an error message:

Authentication error

Error authenticating with Jira: Error: <ERROR MESSAGE>


You are otherwise able to authenticate to and use Jira normally when not using the extension.

診断

環境

原因

There are a number of potential causes

  1. The SSL certificate required to connect is not publically trusted or has an imcomplete chain. Known error messages include:
    1. Error authenticating with Jira: Error: unable to verify the first certificate
  2. Unable to connect to the Jira Server as a proxy server is required, or must be bypassed. Known error messages include:
    1. Error authenticating with Jira: Request failed with status code 400
  3. Your Jira requires a third party SSO authenticator to log in

ソリューション

原因 1

  1. When authenticating, enable the Use Custom SSL Settings toggle
  2. Check on of the custom SSL options, and specify the full path to the certificate bundle or certificate file

原因 2

  1. Edit your vscode settings.json

  2. Add or edit your proxy settings accordingly. For example:

     "http.proxy": "http://your.proxy:8080"

    To specify no proxy, use

    "http.proxy": ""

(info) To exclude a specific domain from proxy lookup, add a comma delimited list of domains into your operating system environment variable NO_PROXY

原因 3

The VSCode extension does not currently support third party SSO.

For more information please see Atlascode Issue #237



説明 Authentication to Jira Server or DC is not possible via the Atlassian VS Code extension
製品Jira、Jira Service Desk
Last modified on Mar 26, 2021

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

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