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

VS Code Settings Sync asks for GitHub login as well as login for GitHub extensions on opening new window #154872

Closed
vishrutkmr7 opened this issue Jul 12, 2022 · 13 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster

Comments

@vishrutkmr7
Copy link

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

  • VS Code Version: 1.69.0
  • OS Version: macOS Ventura 13 Public Beta 1

Steps to Reproduce:

  1. Open VS Code in a new window
  2. Sign in to sync settings using GitHub or Microsoft
  3. Close the window
  4. Open VS Code again
  5. This message appears and it prompts you to log in for all GitHub extensions again:

Screenshot 2022-07-11 at 5 22 44 PM

@vishrutkmr7
Copy link
Author

This issue persisted even on the previous version of macOS Monterey

@sandy081
Copy link
Member

@TylerLeonhardt Is this auth related?

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Jul 12, 2022
@TylerLeonhardt
Copy link
Member

@vishrutkmr7 Can you provide the contents of the GitHub Authentication output pane (like this but GitHub):
image

And also anything that shows up in Dev Tools:

  • ctrl + shift + P
  • "Dev Tools"

@Vikingama
Copy link

I have the same problem, Ventura Public Beta, VSCode 1.69.0
image

@vishrutkmr7
Copy link
Author

@TylerLeonhardt

[2022-07-12 15:48:06.824] [settingssync] [info] Using settings sync service https://vscode-sync.trafficmanager.net/
[2022-07-12 15:48:06.824] [settingssync] [info] Auto Sync is enabled.
[2022-07-12 15:48:06.824] [settingssync] [info] Auto Sync: Suspended until auth token is available.
[2022-07-12 15:48:30.366] [settingssync] [info] Auto Sync: Started
[2022-07-12 15:48:30.367] [settingssync] [info] Auto Sync: Triggered by Interval
[2022-07-12 15:48:31.622] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-07-12 15:48:31.662] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-07-12 15:48:31.676] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-07-12 15:48:31.684] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-07-12 15:48:31.706] [settingssync] [info] GlobalState: No changes found during synchronizing ui state.
[2022-07-12 15:48:32.038] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-07-12 15:48:32.041] [settingssync] [info] Sync done. Took 515ms
[2022-07-12 15:49:03.323] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-07-12 15:49:03.504] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-07-12 15:49:03.509] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-07-12 15:49:03.513] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-07-12 15:49:03.517] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-07-12 15:49:04.058] [settingssync] [info] GlobalState: Updated remote ui state
[2022-07-12 15:49:04.087] [settingssync] [info] GlobalState: Updated last synchronized ui state
[2022-07-12 15:49:04.226] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-07-12 15:49:04.227] [settingssync] [info] Sync done. Took 742ms
[2022-07-12 15:49:06.316] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-07-12 15:49:06.465] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-07-12 15:49:06.468] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-07-12 15:49:06.471] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-07-12 15:49:06.474] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-07-12 15:49:06.738] [settingssync] [info] GlobalState: Updated remote ui state
[2022-07-12 15:49:06.767] [settingssync] [info] GlobalState: Updated last synchronized ui state
[2022-07-12 15:49:06.879] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-07-12 15:49:06.881] [settingssync] [info] Sync done. Took 425ms
[2022-07-12 15:49:59.175] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-07-12 15:49:59.636] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-07-12 15:49:59.647] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-07-12 15:49:59.651] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-07-12 15:49:59.653] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-07-12 15:49:59.659] [settingssync] [info] GlobalState: No changes found during synchronizing ui state.
[2022-07-12 15:49:59.788] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-07-12 15:49:59.789] [settingssync] [info] Sync done. Took 173ms

@TylerLeonhardt
Copy link
Member

@vishrutkmr7 I need the GitHub Authentication pane. Not Settings Sync.

@vishrutkmr7
Copy link
Author

vishrutkmr7 commented Jul 12, 2022

@TylerLeonhardt


[Info  - 22:48:15.742] Reading sessions from keychain...
[Info  - 22:48:16.604] Getting sessions for all scopes...
[Info  - 22:48:16.606] Getting sessions for user:email...
[Info  - 22:48:16.609] Got 0 sessions for ...
[Info  - 22:48:16.609] Got 0 sessions for user:email...
[Info  - 22:48:17.743] Getting sessions for all scopes...
[Info  - 22:48:17.743] Got 0 sessions for ...
[Info  - 22:48:17.774] Getting sessions for codespace,read:user,repo,user:email...
[Info  - 22:48:17.775] Got 0 sessions for codespace,read:user,repo,user:email...
[Info  - 22:48:21.169] Getting sessions for all scopes...
[Info  - 22:48:21.169] Got 0 sessions for ...
[Info  - 22:48:22.83] Getting sessions for all scopes...
[Info  - 22:48:22.84] Got 0 sessions for ...
[Info  - 22:48:23.345] Getting sessions for read:user...
[Info  - 22:48:23.345] Getting sessions for read:user...
[Info  - 22:48:23.346] Got 0 sessions for read:user...
[Info  - 22:48:23.346] Got 0 sessions for read:user...
[Info  - 22:48:24.88] Getting sessions for user:email...
[Info  - 22:48:24.89] Got 0 sessions for user:email...
[Info  - 22:48:26.75] Logging in for the following scopes: user:email
[Info  - 22:48:26.94] Trying without local server... (user:email)
[Trace  - 22:48:28.290] Handling Uri...
[Info  - 22:48:28.291] Exchanging code for token...
[Info  - 22:48:29.90] Token exchange success!
[Info  - 22:48:29.91] Getting user info...
[Info  - 22:48:29.473] Got account info!
[Info  - 22:48:29.473] Storing 1 sessions...
[Info  - 22:48:29.735] Getting sessions for read:user...
[Info  - 22:48:29.735] Got 0 sessions for read:user...
[Error  - 22:48:30.350] Setting token failed: Error: Password is required.
[Info  - 22:48:30.350] Stored 1 sessions!
[Info  - 22:48:30.350] Login success!
[Info  - 22:48:30.360] Getting sessions for user:email...
[Info  - 22:48:30.360] Getting sessions for user:email...
[Info  - 22:48:30.360] Got 1 sessions for user:email...
[Info  - 22:48:30.360] Got 1 sessions for user:email...
[Info  - 22:48:30.363] Getting sessions for codespace,read:user,repo,user:email...
[Info  - 22:48:30.363] Got 0 sessions for codespace,read:user,repo,user:email...
[Info  - 22:48:31.441] Logging in for the following scopes: read:user
[Info  - 22:48:31.444] Trying without local server... (read:user)
[Trace  - 22:48:33.764] Handling Uri...
[Info  - 22:48:33.764] Exchanging code for token...
[Info  - 22:48:34.404] Token exchange success!
[Info  - 22:48:34.404] Getting user info...
[Info  - 22:48:34.776] Got account info!
[Info  - 22:48:34.776] Storing 2 sessions...
[Info  - 22:48:35.193] Getting sessions for read:user...
[Info  - 22:48:35.193] Got 1 sessions for read:user...
[Error  - 22:48:35.392] Setting token failed: Error: Password is required.
[Info  - 22:48:35.392] Stored 2 sessions!
[Info  - 22:48:35.392] Login success!
[Info  - 22:48:35.401] Getting sessions for user:email...
[Info  - 22:48:35.401] Got 1 sessions for user:email...
[Info  - 22:48:35.402] Getting sessions for codespace,read:user,repo,user:email...
[Info  - 22:48:35.403] Got 0 sessions for codespace,read:user,repo,user:email...

Will this do?

@Vikingama
Copy link

#152964, this is worked for me!

@Vikingama
Copy link

rm -rf "/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/vscode-encrypt"

@vishrutkmr7
Copy link
Author

@Vikingama Deleting that worked for me... but does it have any unintended repercussions?

@Vikingama
Copy link

@vishrutkmr7 I'm not sure, LOL. But this bug will be resolved in the INSIDER VERSION.

@TylerLeonhardt
Copy link
Member

/duplicate #152964

@VSCodeTriageBot VSCodeTriageBot added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 13, 2022
@VSCodeTriageBot
Copy link
Collaborator

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!

@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2022
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) info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants