gioboa / jira-plugin

Jira plugin for VsCode
https://marketplace.visualstudio.com/items?itemName=gioboa.jira-plugin
MIT License
266 stars 41 forks source link

issue: 'Certificate has expired' when trying to select a project #127

Closed phyedeaux closed 5 years ago

phyedeaux commented 5 years ago

I am using OAuth to connect to the Jira server. Formerly we did not have to manually sign into Jira. Recently, about a month ago, the ability to select a project stopped working. The Jira-Plugin Output console displays 'certificate has expired' when selecting the project.

The ability to select a branch of the project is working. To Reproduce Steps to reproduce the behavior:

  1. Click on Project: NONE
  2. VSCode shows the error and the resulting output: Error: Check logs in Jira Plugin terminal output. Terminal output: certificate has expired

Expected behavior Formerly the project would be selected and the ability to track development time existed.

Desktop (please complete the following information): Version: 1.37.0 (system setup) Commit: 036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8 Date: 2019-08-08T02:33:50.993Z Electron: 4.2.7 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Windows_NT x64 10.0.17763

Log certificate has expired

There is also a new link in the bottom status/toolbar to 'Sign in to Jira'. When clicked I am taken to an accept screen that shows the following: (tried to upload image but github had an error and was unable to display the image??)

Atlascode Integration Atlascode Integration would like to access your Atlassian account: View Jira issue data Manage project settings View user profiles Create and manage issues

Authorize for:* asicorp.atlassian.net

Atlascode Integration has 22429 installations.

                                              Accept         Cancel

Click 'Accept' and a browser tries to open: http://127.0.0.1:31415/jiracloud?code=vLxTrR8p6QHmeAnj

Then displays 'Internal Server Error' in the browser

gioboa commented 5 years ago

Hi, "Sign in to Jira" isn't a button of this plugin, anyway did you try to reconfigure the plugin with "setup credentials"? Maybe a new Kira access token can resolve the problem. Here you must find the complete login error.

phyedeaux commented 5 years ago

Sorry about the 'Sing', should be 'Sign'.

I was unable to upload the screenshot to github, tried many image formats, no luck.

Here is the VSCode status bar with the link to Jira and the complete error in the output terminal: [image: image.png]

When clicking the link to 'Sign in to Jira' here is the resulting error: [image: image.png] Thanks, Todd

gioboa commented 5 years ago

Notice: this issue has been closed because it has been inactive for more than 7 days. You may reopen this issue if it has been closed in error.