ipatalas / vscode-sprint-planner

Plan your sprints in VSCode directly!
MIT License
37 stars 21 forks source link

Certificate Expired #34

Closed pcamdev closed 3 years ago

pcamdev commented 3 years ago

Hi, I'm getting a "certificate has expired" error from your plug-in. I've uninstalled and reinstalled, same error.

ipatalas commented 3 years ago

Can you show the exact message? I can only guess it's the Azure DevOps token that expired. They are not for ever. The default is 30 days, but you can change it to a year max.

pcamdev commented 3 years ago

Sure, this is the message:

@.***D76C35.D3262D40]

From: Ireneusz Patalas @.> Sent: Monday, June 28, 2021 3:51 PM To: ipatalas/vscode-sprint-planner @.> Cc: Campbell, Peter @.>; Author @.> Subject: Re: [ipatalas/vscode-sprint-planner] Certificate Expired (#34)

Can you show the exact message? I can only guess it's the Azure DevOps token that expired. They are not for ever. The default is 30 days, but you can change it to a year max.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ipatalas/vscode-sprint-planner/issues/34*issuecomment-869984328__;Iw!!Pbs7EwM!27ijlBVg7S3jtr4_yUp-kuX18MRxQ0T1pvUyg_ZzQ3n9zaUbWdeZf_NoqdnSaO5W$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AQEFWLLNU6K76L36HPZVCPTTVDHDDANCNFSM47OJBMKQ__;!!Pbs7EwM!27ijlBVg7S3jtr4_yUp-kuX18MRxQ0T1pvUyg_ZzQ3n9zaUbWdeZf_NoqZMdkApX$.

-----=====-----=====

HEALTHCARE OF ONTARIO PENSION PLAN 1 York Street, Suite 1900 Toronto, ON, M5J 0B6 www.hoopp.com

This e-mail may contain confidential information and may be subject to legal privilege. If you are not the intended recipient, please notify the sender by phone or return e-mail and delete this communication and all copies immediately.

ipatalas commented 3 years ago

I meant the "Certificate has expired" message in VS Code.

pcamdev commented 3 years ago

That is the message in VS Code: @.***D76C38.B268F3F0]

From: Ireneusz Patalas @.> Sent: Monday, June 28, 2021 4:13 PM To: ipatalas/vscode-sprint-planner @.> Cc: Campbell, Peter @.>; Author @.> Subject: Re: [ipatalas/vscode-sprint-planner] Certificate Expired (#34)

I meant the "Certificate has expired" message in VS Code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ipatalas/vscode-sprint-planner/issues/34*issuecomment-870002510__;Iw!!Pbs7EwM!2zNeDK9tvIKOIEQHvlX0s_ud79B75FCJPVqQdRSYWv5GzmeiTyv0mWpzZCTdCVQb$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AQEFWLNDIPULK76BRCRWF7DTVDJV5ANCNFSM47OJBMKQ__;!!Pbs7EwM!2zNeDK9tvIKOIEQHvlX0s_ud79B75FCJPVqQdRSYWv5GzmeiTyv0mWpzZOoT-WEa$.

-----=====-----=====

HEALTHCARE OF ONTARIO PENSION PLAN 1 York Street, Suite 1900 Toronto, ON, M5J 0B6 www.hoopp.com

This e-mail may contain confidential information and may be subject to legal privilege. If you are not the intended recipient, please notify the sender by phone or return e-mail and delete this communication and all copies immediately.

ipatalas commented 3 years ago

Can you post a screenshot?

pcamdev commented 3 years ago

I included a full screenshot in the last reply. I will include as an attachment on this email, let me know if it doesn’t come through and I’ll zip it… Thanks for taking the time to look into this.

From: Ireneusz Patalas @.> Sent: Monday, June 28, 2021 4:17 PM To: ipatalas/vscode-sprint-planner @.> Cc: Campbell, Peter @.>; Author @.> Subject: Re: [ipatalas/vscode-sprint-planner] Certificate Expired (#34)

Can you post a screenshot?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ipatalas/vscode-sprint-planner/issues/34*issuecomment-870005633__;Iw!!Pbs7EwM!27nlvWwM7S2FpWkEzQH2HEqEVHENzscpGbS0RkGdk9X0f7gShN0MVxwbcEFAvaQQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AQEFWLK4434TETGMZETAWWTTVDKE3ANCNFSM47OJBMKQ__;!!Pbs7EwM!27nlvWwM7S2FpWkEzQH2HEqEVHENzscpGbS0RkGdk9X0f7gShN0MVxwbcC_QImxo$.

-----=====-----=====

HEALTHCARE OF ONTARIO PENSION PLAN 1 York Street, Suite 1900 Toronto, ON, M5J 0B6 www.hoopp.com

This e-mail may contain confidential information and may be subject to legal privilege. If you are not the intended recipient, please notify the sender by phone or return e-mail and delete this communication and all copies immediately.

ipatalas commented 3 years ago

They don't come through. I can see you are using email to reply but I don't think you can attach anything there. I double checked all the emails and there are no attachments. Please use GitHub page to reply, this will have less clutter and you can easily insert screenshots here. Just click view it on GitHub link in the email or this: https://github.com/ipatalas/vscode-sprint-planner/issues/34 This is the same link.

pcamdev commented 3 years ago

ok, here's the screenshot: certError

ipatalas commented 3 years ago

Ok, that's better. "certificate has expired" is definitely not a message this extension is showing on it's own - it must be a message returned from Azure DevOps API.

There are two things to check:

  1. See Azure DevOps planner output channel for potentially more verbose message: image
  2. Check Personal Access Token expiration date in Azure DevOps itself: image image
pcamdev commented 3 years ago

I don't see a personal access token for Azure Planner in Azure DevOps... here's the Azure DevOps Planner Output: image

ipatalas commented 3 years ago

image

pcamdev commented 3 years ago

This is what I have: image

ipatalas commented 3 years ago

Hmm.. ok, neither of these is expired so this must be something else. I wonder what it is..

Ok, please enable debug logging in extension's settings: image

After that turn on Dev Tools: image

..and then try again to reproduce the problem. We should hopefully see response error in Dev Tools console: image

Copy that error here or make a screenshot please.

pcamdev commented 3 years ago

image

pcamdev commented 3 years ago

I did a VS Code update last week, wondering if that may have been the cause...I'm going to try uninstalling/reinstalling VS Code...

ipatalas commented 3 years ago

Oh.. this looks like SSL certificate then. Something unrelated to this extension. Any chance you're using a HTTPS proxy to connect? If so then please check the certificate - it might have just expired.

I did a VS Code update last week, wondering if that may have been the cause...I'm going to try uninstalling/reinstalling VS Code...

Did my extension work before that update? If yes then perhaps it is related, you can try downgrading to confirm that.

pcamdev commented 3 years ago

Thanks for pointing me in the right direction, I was able to resolve it.

ipatalas commented 3 years ago

What was it?

pcamdev commented 3 years ago

It looks like it doesn't work when connected to VPN. It worked once I disconnected from VPN.