microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.29k stars 29.31k forks source link

Settings Sync failed (microsoft) #114240

Closed baboon-king closed 3 years ago

baboon-king commented 3 years ago

Error Info : Error while turning on Settings Sync: Authentication failed.

We have written the needed data into Issue Type: Bug

Version: 1.53.0-insider (system setup) Commit: e17aea136d32fdb06d9b32184b04ccd36bb51e9c Date: 2021-01-12T08:23:24.929Z Electron: 11.1.0 Chrome: 87.0.4280.88 Node.js: 12.18.3 V8: 8.7.220.29-electron.0 OS: Windows_NT x64 10.0.19041

VS Code version: Code - Insiders 1.53.0-insider (e17aea136d32fdb06d9b32184b04ccd36bb51e9c, 2021-01-12T08:23:24.929Z) OS version: Windows_NT x64 10.0.19041

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 3400G with Radeon Vega Graphics (8 x 4150)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|29.95GB (19.00GB free)| |Process Argv|--crash-reporter-id 6c2f1635-92bf-4b1b-b4b2-00ad102c081a| |Screen Reader|no| |VM|0%|
Extensions (38) Extension|Author (truncated)|Version ---|---|--- vscode-sql-formatter|adp|1.4.4 vscode-css-formatter|aes|1.0.1 vscode-hexo|cod|1.0.1 gitignore|cod|0.6.0 vscode-svgviewer|css|2.0.0 vscode-eslint|dba|2.1.14 javascript-ejs-support|Dig|1.3.1 githistory|don|0.6.14 gitlens|eam|11.1.3 vscode-html-css|ecm|1.8.0 prettier-vscode|esb|5.8.0 vscode-npm|fkn|3.3.0 code-runner|for|0.11.2 shell-format|fox|7.0.1 gitee|g8u|0.0.6 todo-tree|Gru|0.0.193 vscode-nginx-conf-hint|han|0.1.0 gitee-vscode-plugin|hby|0.1.4 vue-snippets|hol|1.0.4 sftp|lix|1.12.9 vscode-docker|ms-|1.9.0 remote-ssh|ms-|0.62.0 remote-ssh-edit|ms-|0.62.0 remote-wsl|ms-|0.52.0 powershell-preview|ms-|2020.9.0 debugger-for-edge|msj|1.0.15 vetur|oct|0.31.3 vscode-gitignore-generator|pio|1.0.2 material-icon-theme|PKi|4.5.0 nginx-formatter|ray|0.0.11 markdown-preview-enhanced|shd|0.5.15 vue-helper|she|2.4.7 code-spell-checker|str|1.10.2 language-stylus|sys|1.11.0 ejs-snippets|Tao|0.1.0 pdf|tom|1.1.0 vscode-icons|vsc|11.1.0 vscode-zh-hans-custom|wan|1.4.0
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368:30146709 vsreu685:30147344 openlogontheside:30221882 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30208930 wsl2promptcf:30219163 pythonvsdeb440:30224570 unusedpromptcf:30219165 folderexplorercf:30219167 openfilemenucf:30219169 pythonvsded773:30223139 pythonvspyt600cf:30241728 core-portspanelcf:30233468 ```
your clipboard because it was too large to send. Please paste.
gmccullo commented 3 years ago

I'm also getting this even tho I am signed in. Trace log:

[2021-01-13 08:15:24.009] [userDataSync] [info] Auto Sync: Started [2021-01-13 08:15:24.009] [userDataSync] [info] Auto Sync: Triggered by Interval [2021-01-13 08:15:25.616] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","status":401,"execution-id":"ac8b53a6-f6e7-4308-9f54-b3df6caea6e3","operation-id":"d1dd4c0767dd4939a8cf07770ba52a61"} [2021-01-13 08:15:25.616] [userDataSync] [info] Auto Sync: Suspended until auth token is available. [2021-01-13 08:15:25.616] [userDataSync] [info] Auto sync: Cancelled sync that is in progress [2021-01-13 08:15:25.616] [userDataSync] [info] Auto Sync: Stopped [2021-01-13 08:15:25.618] [userDataSync] [error] Unauthorized (UserDataSyncError) syncResource:unknown operationId:d1dd4c0767dd4939a8cf07770ba52a61: Request 'https://vscode-sync.trafficmanager.net/v1/manifest' failed because of Unauthorized (401). at x.request (file:///C:/Users/gary/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:599:521) at async x.manifest (file:///C:/Users/gary/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:597:69) at async C.createSyncTask (file:///C:/Users/gary/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:577:790) at async E.doSync (file:///C:/Users/gary/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:572:404)

informagico commented 3 years ago

Same issue here.

[2021-01-13 08:11:50.730] [userDataSync] [info] Request failed {"url":"https://vscode-sync-insiders.trafficmanager.net/v1/manifest","status":401,"execution-id":"XXXXX","operation-id":"XXXXX"}
[2021-01-13 08:11:50.731] [sharedprocess] [error] Unauthorized (UserDataSyncError) syncResource:unknown operationId:XXXXX: Request 'https://vscode-sync-insiders.trafficmanager.net/v1/manifest' failed because of Unauthorized (401).
    at y.request (file:///C:/Users/XXXXX/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:172458)
    at async y.manifest (file:///C:/Users/XXXXX/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:170190)
    at async s.createManualSyncTask (file:///C:/Users/XXXXX/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:151028)
    at async P.createManualSyncTask (file:///C:/Users/XXXXX/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:126746)
    at async P.call (file:///C:/Users/XXXXX/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:125517)
sandy081 commented 3 years ago

/duplicate

https://github.com/microsoft/vscode/issues/114231