-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading to 1.95.0, I am logged out of Settings Sync and cannot log in #232516
Comments
Do you use GitHub or Microsoft auth with Settings Sync? Can you follow these steps so that we can get more information on what's going on?
|
There's nothing in the Output pane when I try these steps: vscode-sign-in.mp4It seems to "think" I'm authenticated, but then it still shows the (1) badge. |
So are you trying to use GitHub then? Also, what does the dropdown in the Output pane say? |
So there's nothing in the Settings Sync Output? And what about |
This is all I see under "Settings Sync", even after trying to sign in multiple times:
Nothing relevant under "GitHub" or "Main". |
@sandy081 any thoughts? SteVen was talking to me about a similar issue yesterday. |
@TylerLeonhardt I'm already signed out. Attempting to sign in doesn't seem to do anything (no trace messages, no authentication web page, no activity of any kind). |
Here's a screencast of what I'm seeing: https://www.youtube.com/watch?v=HgiSn-rrvic |
That's very helpful to understand what you're seeing. Thanks! @sandy081 looks like auth isn't getting called by Settings Sync, can you chime in here? |
After updating the new version, clicking the login button does not respond, and the browser cannot be called to complete the login. |
If you downgrade to 1.94 does that work again? |
I'm having a similar problem, I can log in fine, but when I close the VSCode and then reopen it, VSCode says I'm logged out and need to log in again. I sync via my GitHub account. |
I have two devices, logged into the same account, and I've noticed that when I log in on one device account, the account on the other device logs out and needs to be logged in again when I close VSCode and then reopen it. However, it cannot be reliably reproduced, and I am unsure of what is causing it. |
I encountered this issue after updating today as well. After logging in successfully, it keeps reverting to logged out after a while. I have rolled back to version 1.94.2. |
i have this problem too. |
+1 On this issue. I sign in using my Microsoft account. Then I Go to a terminal to a directory open it up in I am more than happy to provide you debug logs if you haven't got them already from users in this issue. |
I have similar problems, but using the command If I close and reopen VSCode, the Accounts icon menu will say Sign in to Sync Settings. However, reload instead of reopen VSCode makes the sync work again. |
nvm, the login state will drop after a while. |
Yep, this somehow fixes the issue. |
Talked over this with @sandy081 a bit... our suspicion is that Settings Sync is timing out waiting for auth to be available. The auth comes from the Extension Host... so the machine is slowed down for any reason or if the ExtHost is slowed down for any reason (some heavy extension, for example), then perhaps that is timing out. This is supported by Now, we need your help to narrow down the issue... so I have a couple questions:
@sandy081 will take a look at this deeper tomorrow morning, but in the meantime the workaround is to:
(I'll include this in the original issue for users to find it) |
Can you all please try out the following test build and let us know if the issue is fixed for you? |
This comment has been minimized.
This comment has been minimized.
This is a personal testing build and not an official release. Please use the build specific to your platform from the comment and test the bug and let me know if it is fixed so that we can release the fix in official build. |
After installing the test build I'm no longer facing the issue which was reproing pretty much 100% of the time for me. Closed and reopened the application multiple times and did a few reloads and everything worked as expected. (1) badge quickly flashes but then disappears and settings sync is on. |
i tried [linux-x64] build, it seems to be ok, |
after install debx64 and login Inside version the console output window print:
|
I have just installed |
@cmmata This seems to be a different issue. Can you please file new issue for that with necessary steps to reproduce. |
Thanks for the confirmation. We will be releasing another recovery in couple of days with this fix. |
@sandy081 I can create a new issue if that helps, of course. But I see that this is already commented on this issue:
Happy to help creating a new issue, but I think we missed profiles due to the settings sync bug. At least, I had settings sync and profiles working past week, and after updating VSCode I lost both features at the same time. Do you think it's better to create a new one with a fresh context anyway? |
This bug is about Settings Sync not getting started and therefore no data gets synced. Once settings sync has started sync should work. If you do not see data is getting synced then this is a separate issue. I would recommend to use the above build and reproduce the problem and file a new issue with following data
|
first, the workaround with window reload worked, thanks!
new laptop, second thing after browser to install was vscode, and the sync was not available telling me there are "no auth providers" |
@martenson Can you please try the the build shared here and let us know if it worked? |
@sandy081 that seems to work better 👍, it defaults to auth using github (not giving me a choice) -- unclear to me if that is due to me being unable to clear vscode's prefs properly from the default channel or for a different reason |
@martenson I think you may want to look at this section of the docs for switching accounts with Settings Sync: https://code.visualstudio.com/docs/editor/settings-sync#_switching-accounts |
Another tidbit: I was observing the following error (Code 1.95.2):
This was caused by the following entry in my { "key": "f5", "command": null, "when": "!inDebugMode" }, Changing it to the following solved the issue for me: { "key": "f5", "command": "", "when": "!inDebugMode" }, |
@dmke Please file a separate issue for that |
@sandy081, there's no issue anymore. This solved the "I am logged out of Settings Sync and cannot log in" problem described in this issue. |
I no longer see this issue. I'm glad that it's been fixed. |
Type: Bug
After upgrading, I am now seeing a badge on my user profile button, and it says I'm logged out (which I didn't do myself). If I click "Sign in to Sync Settings", nothing seems to happen.
Edit: I was finally able to get the sign-in page to load, and I authenticated successfully, but I'm still seeing the (1) badge on my profile button.
VS Code version: Code 1.95.0 (912bb68, 2024-10-28T20:16:24.561Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (10)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: