惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog
WordPress大学
WordPress大学
小众软件
小众软件
IT之家
IT之家
腾讯CDC
月光博客
月光博客
量子位
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

轶哥博客

blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog
blog
2022-07-25 · via 轶哥博客

在MacOS Ventura 13.0 Beta版中,使用VSCode会出现Github登录状态丢失的情况,导致重启/新窗口中需要重复登录Github账号才可以同步UI以及插件等设置。

在VSCode的github authentication插件日志可以看到,每次启动VSCode后,都会从MacOS的钥匙串访问APP中获取登录信息。

[Info  - 03:49:14.381] Reading sessions from keychain...

使用Github登录VSCode,可以看到报错信息:

Setting token failed: Error: Password is required.

说明身份验证信息未能成功保存。

解决方法源自:https://github.com/microsoft/vscode/issues/152964#issuecomment-1166805833

即执行下述命令:

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

重新登录即可解决此问题。

从当前issues也可看到,新版的VSCode(Version: 1.70.0-insider)已经解决了该问题,但是尚未明确更新到stable版本的时间。

需要注意的是,设置同步功能需要请求vscode-sync.trafficmanager.net服务器,因此需要确保此域名可以被正常访问。