Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signing out from Microsoft account every few days #177556

Closed
shadowlmd opened this issue Mar 18, 2023 · 5 comments
Closed

Signing out from Microsoft account every few days #177556

shadowlmd opened this issue Mar 18, 2023 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@shadowlmd
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.76.2 (user setup)
  • OS Version: Windows 10 Enterprise 22H2 19045.2604

Steps to Reproduce:

  1. Sign in to Sync Settings -> Sign in with Microsoft
  2. Wait for a few days
  3. A notification (blue number 1 circle in lower fight corner on avatar icon above setting icon) appears asking you to sign in.

Here's what I see in Microsoft Authentication output right after starting up vscode with extensions disabled:

2023-03-18 16:33:09.834 [info] Reading sessions from secret storage...
2023-03-18 16:33:09.846 [error] Error: Unable to parse decrypted password
    at I.$getPassword (vscode-file://vscode-app/c:/Users/Username/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1566:45407)
2023-03-18 16:33:09.846 [info] Got 0 stored sessions
2023-03-18 16:33:09.993 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-03-18 16:33:09.993 [info] Got 0 sessions for scopes: email offline_access openid profile
2023-03-18 16:33:13.101 [info] Getting sessions for all scopes...
2023-03-18 16:33:13.101 [info] Got 0 sessions for all scopes...
@IllusionMH
Copy link
Contributor

/duplicate of #130893

Fix already available in Insiders build and will be in stable 1.77 release

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 18, 2023
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@AngusMaiden
Copy link

AngusMaiden commented Mar 27, 2023

I have this exact same issue and I agree with OP that it doesn't appear the same as #130893. I will wait for the new fix for that issue and see if it fixes this problem.

@DanielRouxSA
Copy link

I'm experiencing this issue as well, also with different symptoms than #130893. Logging in always works for me without any errors - it merely prompts me to log in again after a certain amount of time (I haven't been keeping track of how long in between, but every few days seems to be accurate).

@TylerLeonhardt
Copy link
Member

@DanielRouxSA that's very possibly a symptom of that same issue. The next release is going out tomorrow. Give that a go, and also make sure your keychain isn't full of stuff... and if you're still seeing issues, open a new issue and we can take a closer look.

@github-actions github-actions bot locked and limited conversation to collaborators May 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

6 participants