VSCode sync was working fine, until all of a sudden one time it popped up and said something about the sync being too large, and that it had automatically disabled sync :frowning:
When I tried to re-enable sync, I found that there was no way that I could
Steps to Reproduce:
This error appears:
Error while starting Sync: Request 'https://vscode-sync.trafficmanager.net/v1/manifest' failed because of Unauthorized (401).
The same error still appears after trying to enable preferences sync a different way, by signing in with github and _then_ trying to enable preferences sync as separate steps.
I even uninstalled and reinstalled, and removed ~/.config/Code - Insiders and ~/.vscode-insiders, and the issue still existed!!! Also somehow I stayed signed in to vscode after all that, how does that work? Where is the signed-in account stored, I'd like to clear that out.
I have _no idea_ what sudden change there was that caused this to break. I really really wish that I could clear out the place where vscode stores account information. It seems really messed up that after uninstalling and removing both of those folders that I stayed signed in, and I suspect that that is related to what is causing this issue
Does this issue occur when all extensions are disabled?: Yes
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
TL;DR where does vscode store account information? If I know where that is, clearing that out may fix my issue (just a hunch)
I noticed that it works when I sign into microsoft with my github account:
That process works for me for some reason
Getting this too on the latest insiders. Signing in with a Microsoft account works.
Getting this too on the latest insiders. Signing in with a Microsoft account works.
Got this in insider too, with github account
this appears to have hit me also but apparently due to frequency of requests
Version: 1.46.0-insider
Commit: b26e0bcf39c1b8faaf770265391b5a387d1d9172
Date: 2020-05-26T17:07:53.549Z
Electron: 8.3.0
Chrome: 80.0.3987.165
Node.js: 12.13.0
V8: 8.0.426.27-electron.0
OS: Darwin x64 19.5.0
VSCode appears to have been attempting to sync every few hundred milliseconds and based on the message it appears some rate limiting kicked in and disabled my accounts sync authorization.
Note - all this occurred while the laptop closed overnight (it should have been asleep). Based on the attached log is looks like the sync interval decreased from every several 10s of seconds down to eventually attempting to sync every 200ms - surprised it took at as long as it did to turn off
Any remediation to re-enable my account for sync once the issue is resolved?
/duplicate
Sorry for this and we are currently working on it #98625
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Happy Coding!
Most helpful comment
Getting this too on the latest insiders. Signing in with a Microsoft account works.