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

Writing login information to the keychain failed with error 'The specified item already exists in the keychain.'. #94005

Closed
roblourens opened this issue Mar 31, 2020 · 6 comments
Assignees
Labels
authentication Issues with the Authentication platform bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@roblourens
Copy link
Member

I keep getting this randomly

image

@RMacfarlane
Copy link
Contributor

RMacfarlane commented Mar 31, 2020

@roblourens What version of macOs are you on?

upstream: atom/node-keytar#127

@RMacfarlane RMacfarlane added bug Issue identified by VS Code Team member as probable bug authentication Issues with the Authentication platform labels Mar 31, 2020
@roblourens
Copy link
Member Author

10.14.6. Oh wait, this is the mysterious error I was seeing a while back right? I should just update to Catalina, been putting that off for awhile.

@towry
Copy link

towry commented Apr 2, 2020

I got this error every time(Twice) I unlock the computer in the morning at work. While the Code Insiders keep opening in the whole night.

Screen Shot 2020-04-02 at 8 00 03 AM

Logs from Account:

[Info  - 13:38:00.951] Token available from cache, expires in 3598994 milliseconds
[Error  - 13:38:01.41] Setting token failed: Error: The specified item already exists in the keychain.
[Info  - 14:37:30.47] Refreshing token...
[Info  - 14:37:30.604] Token refresh success
[Info  - 14:37:30.607] Token available from cache, expires in 3598996 milliseconds
[Info  - 15:36:59.704] Refreshing token...

VS Code version: Code - Insiders 1.44.0-insider (20b88fa, 2020-04-01T08:34:11.087Z)
OS version: Darwin x64 19.3.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz (4 x 2700)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 2
Memory (System) 8.00GB (0.13GB free)
Process Argv .
Screen Reader no
VM 0%
Extensions (12)
Extension Author (truncated) Version
codesnap adp 1.0.27
Bookmarks ale 11.0.0
All-Autocomplete Ati 0.0.23
vscode-eslint dba 2.1.2
EditorConfig Edi 0.14.4
prettier-vscode esb 3.20.0
gitlab-mr jas 1.4.2
search-node-modules jas 1.3.0
recent-files jun 1.1.10
vetur oct 0.24.0
gitblame wad 3.2.0
change-case wma 1.0.0

(1 theme extensions excluded)

@RMacfarlane
Copy link
Contributor

Easy repro steps: Open VSCode and mash the "New Window" keybinding to get ~10 windows in a short period of time.

Each window reads the existing refresh token from keytar and refreshes, simultaneous writes to keytar cause this error.

@RMacfarlane RMacfarlane added this to the April 2020 milestone Apr 3, 2020
@sampotts
Copy link

sampotts commented Apr 5, 2020

Also seeing this on Catalina 10.15.4:

Version: 1.44.0-insider
Commit: e8dbc5ea6092ba73ae70069d3e730f2cc56addff
Date: 2020-04-03T22:09:44.908Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

@etetlow
Copy link

etetlow commented Apr 8, 2020

Same Issue on Catalina 10.15.4:

Version: 1.44.0-insider
Commit: 2aae1f2
Date: 2020-04-07T21:42:32.364Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

@jrieken jrieken added the verified Verification succeeded label Apr 30, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
authentication Issues with the Authentication platform bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

6 participants