-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Auth token is not getting refreshed #91653
Comments
Reloading the window fixed it. |
@sandy081 Can you also include the output from the "Account" channel if you run into this aagin? |
I've confirmed that when I return a garbage token from the extension, a message is sent back from the shared process that requests the token again. When getting the token, I return it from the cache if I think it isn't expired, and otherwise do the refresh. So something must be wrong with the expiry check, not sure what yet. I'm now also logging when the token will expire when we fetch it from the cache, hopefully that will make it more obvious why this is wrong. |
@RMacfarlane I saw this issue again on latest insiders (built from master) that includes this fix. Sync log
Account log
I do not see Sync command in the gear icon but I can see Sync commands in the command palette. It means auth token is not refreshed. Reopening because of this, let me know if you want me to create separate issue. |
@RMacfarlane I keep hitting this bug very often. I saw it again today on my latest insiders. Here is my state sync.log
Account log
I see account is signed in. |
Did not see this issue coming up. So tagging as verified. |
I opened my laptop in the morning today and I noticed that Sync is not happening because of auth error. I expect auth should be refreshed but not in this case.
The text was updated successfully, but these errors were encountered: