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

推荐订阅源

C
Check Point Blog
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
U
Unit 42
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
Vercel News
Vercel News
美团技术团队
雷峰网
雷峰网
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
D
DataBreaches.Net
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
罗磊的独立博客
MyScale Blog
MyScale Blog
博客园_首页
IT之家
IT之家
F
Fortinet All Blogs
博客园 - Franky

轶哥博客

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服务器,因此需要确保此域名可以被正常访问。