question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Logging in with GitHub account fails with "Writing login information to the keychain failed"

See original GitHub issue

Does this issue occur when all extensions are disabled?: N/A

  • VS Code Version: 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3)
  • OS Version: MacOS Big Sur 11.4

Steps to Reproduce:

  1. Log out from the currently logged in account and have a previous Live share account logged in.
  2. Restart Code
  3. From the Live share extension, select “Start sharing” or “Join session” so that Live share extensions asks to login.
  4. Select “GitHub”.
  5. Proceed to authenticate on GitHub and press “Continue” on “Authorize Visual Studio Code to access GitHub” in order to return to Code.

Expected outcome: Authentication is successful and Live share session is starting. Actual outcome: Error "Writing login information to the keychain failed with error "UNIX[No such file or directory]’

Please see the screenshot below: Screenshot 2021-08-05 at 6 19 56

Please also note that I was able to reproduce this multiple times yesterday and once today. But just prior to writing this bug report just to double check my steps, it seemed I couldn’t reproduce this issue and now I am logged in with the GitHub account. I am sure I didn’t do any other steps than before and I did see this error on multiple occasions, so I am confident that there is some issue.

Please let me know if you need any other details.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TylerLeonhardtcommented, Apr 17, 2022

Sadly no. Output is purged when you start a new session.

1reaction
jameszpcommented, Mar 4, 2022

I had this issue as well. I was able to resolve it by granting full disk access to the terminal app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode "Writing login information to the keychain failed with ...
2 Answers 2 · Attempt to "Sync Settings" by logging into Microsoft or Github · this will fail as OP states... but ·...
Read more >
writing login information to the keychain failed
I try signing into my GitHub account so I can have access to Git and stuff, but no avail. The same error pops...
Read more >
writing login information to the keychain failed with error 'The ...
I try signing into my GitHub account so I can have access to Git and stuff, but no avail. The same error pops...
Read more >
Keep asking github every time even selected "save to keychain"
SourceTree stores tokens in keychain with the label "GitHub Credentials". You should be able to find them and check the username in the...
Read more >
Visual Studio Code github login error - Manjaro Linux Forum
Hi, I tried to login to github using vsc but it gave me this error "Writing login information to the keychain failed with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found