Today, after launching vs code, I just get the cody sign in screen for the extension, when I click sign in with github, after generating an auth token, the signing in toaster thing in the bottom right just spins. At some point I got a "another instance of Code is already running as administrator. please close the other instance and try again. dialog. Looking at the Cody output, I just see invalid access token errors.
After lots of attempts, the only thing that worked, was when clicking Sign in with github, instead of open, I picked copy. Then I closed vs code, opened a browser tab and then pasted the url. After authorizing, the web page opened a new version of vs code that then asked me if I wanted to authorize.
Hey @scomo sorry to hear about this.
I’m using macOS, but if I remember correctly if you open a task manager, isn’t there a way to search for anything “VS Code” and terminate those processes? If not, maybe restarting could solve the problem.
Either way, let me know, I’m curious and want to resolve this.
The way I resolved was when reauthorizing, I copied the url, then closed vs code, then opened the url in chrome, and after authenticating the browser re-opened chrome and finished the authorization process. The issue seems to be related to how instances of vs code are opened by the browser, and I have vs code configured to launch as an administrator.