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

"Cannot get password" on MacOS #121606

Closed
tonimelisma opened this issue Apr 18, 2021 · 6 comments
Closed

"Cannot get password" on MacOS #121606

tonimelisma opened this issue Apr 18, 2021 · 6 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@tonimelisma
Copy link

Issue Type: Bug

Signing in to sync settings doesn't retain the sign-in between restarts of VS Code. Each time I start VS Code I get the blue circle by the profile icon, asking me to sign in again. Rebooting doesn't help, I've also restarted many times.

Sign-in isn't retained for any extensions (Github PRs and Gitlens extensions) either, they ask to sign-in again as well.

VS Code version: Code - Insiders 1.56.0-insider (Universal) (ce791d2, 2021-04-16T11:23:31.851Z)
OS version: Darwin x64 20.3.0
Remote OS version: Linux x64 5.11.0-14-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz (4 x 2900)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 29, 26, 16
Memory (System) 8.00GB (0.04GB free)
Process Argv --crash-reporter-id f7079402-1532-4e90-b1b1-da579b0a67cb
Screen Reader no
VM 0%
Item Value
Remote SSH: pk
OS Linux x64 5.11.0-14-generic
CPUs AMD Opteron(tm) X3216 APU (2 x 2965)
Memory (System) 7.24GB (0.17GB free)
VM 0%
Extensions (22)
Extension Author (truncated) Version
better-comments aar 2.1.0
gotemplate cas 0.4.0
bracket-pair-colorizer-2 Coe 0.2.0
dotenv mik 1.0.1
remote-containers ms- 0.168.0
remote-ssh ms- 0.65.3
remote-ssh-edit ms- 0.65.3
remote-wsl ms- 0.56.0
vim vsc 1.20.0
gitignore cod 0.6.0
vscode-eslint dba 2.1.20
gitlens eam 11.4.1
vscode-pull-request-github Git 0.25.1
go gol 0.24.1
rest-client hum 0.24.5
python ms- 2021.3.680753044
jupyter ms- 2021.6.755784270
cpptools ms- 1.3.0
indent-rainbow ode 7.5.0
vscode-yaml red 0.18.0
bash-beautify sha 0.1.1
vscode-import-cost wix 2.15.0
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30244316
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvsnew554:30265444
pythontb:30258533
wslfolderdoc:30278405
vspre833:30267464
pythonptprofiler:30281269
vscnewfiletextcf:30288478
vshan820:30276952
vscorecescf:30285484
pythondataviewer:30285072
vscus158cf:30286554
vscgsv2:30286872

@tonimelisma
Copy link
Author

tonimelisma commented Apr 18, 2021

Here's the Log for Settings Sync, both the startup (doesn't find auth token) as well as after I login:

[2021-04-18 22:07:28.666] [settingssync] [info] Using settings sync service https://vscode-sync-insiders.trafficmanager.net/
[2021-04-18 22:07:28.666] [settingssync] [info] Auto Sync is enabled.
[2021-04-18 22:07:28.666] [settingssync] [info] Auto Sync: Suspended until auth token is available.
[2021-04-18 22:59:57.008] [settingssync] [info] Auto Sync: Started
[2021-04-18 22:59:57.009] [settingssync] [info] Auto Sync: Triggered by Interval
[2021-04-18 22:59:58.576] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2021-04-18 22:59:58.678] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2021-04-18 22:59:58.794] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2021-04-18 22:59:59.334] [settingssync] [info] GlobalState: Updated remote ui state
[2021-04-18 22:59:59.353] [settingssync] [info] GlobalState: Updated last synchronized ui state
[2021-04-18 22:59:59.547] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2021-04-18 22:59:59.552] [settingssync] [info] Sync done. Took 1090ms
[2021-04-18 23:00:13.928] [settingssync] [info] Auto Sync: Triggered by Activity
[2021-04-18 23:00:14.022] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2021-04-18 23:00:14.040] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2021-04-18 23:00:14.043] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2021-04-18 23:00:14.086] [settingssync] [info] GlobalState: No changes found during synchronizing ui state.
[2021-04-18 23:00:14.184] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2021-04-18 23:00:14.187] [settingssync] [info] Sync done. Took 201ms

@RMacfarlane
Copy link
Contributor

Do you have gnome-keyring installed? Is there any error notification when you complete the sign in?

If you could get the log for "GitHub Authentication" in the output panel, that would be very useful

@RMacfarlane RMacfarlane added the info-needed Issue requires more information from poster label Apr 19, 2021
@tonimelisma
Copy link
Author

I'm running on macOS, I reported the issue when I had a remote SSH open but the issue persists in local development. So no, I don't have gnome-keyring.

No errors when I login. Everything seems to be fine.

Here's the Github auth log:

[Error  - 07:07:18.878] Getting token failed: Error: Cannot get password
[Info  - 07:08:00.568] Logging in...
[Info  - 07:08:49.626] Exchanging code for token...
[Info  - 07:08:50.332] Token exchange success!
[Info  - 07:08:50.334] Getting user info...
[Info  - 07:08:50.731] Got account info!
[Info  - 07:08:50.911] Login success!

@tonimelisma
Copy link
Author

This issue persists after doing a complete reinstall of my macOS operating system from scratch and reinstalling VS Code Insiders on it.

@RMacfarlane RMacfarlane changed the title Doesn't retain sign-in "Cannot get password" on MacOS May 13, 2021
@RMacfarlane RMacfarlane added bug Issue identified by VS Code Team member as probable bug authentication Issues with the Authentication platform and removed info-needed Issue requires more information from poster labels May 13, 2021
@RMacfarlane RMacfarlane added this to the Backlog milestone May 13, 2021
@TylerLeonhardt
Copy link
Member

Hello this stuff has changed quiet a bit in 2 years... are you still having trouble?

@TylerLeonhardt TylerLeonhardt added info-needed Issue requires more information from poster and removed bug Issue identified by VS Code Team member as probable bug authentication Issues with the Authentication platform labels Dec 8, 2022
@TylerLeonhardt TylerLeonhardt removed this from the Backlog milestone Dec 8, 2022
@tonimelisma
Copy link
Author

Not really! Sitting a couple of years on a bug does wonders!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants