GitHub Copilot Chat: "Sign in" button does not redirect, error
Opened this issue · 10 comments
OS/Web Information
- Web Browser: Chrome
- Local OS: Windows
- Remote OS : Ubuntu
- Remote Architecture: amd64
Steps to Reproduce
- Open code-server in the browser (e.g., Chrome / Firefox).
- Install the GitHub Copilot Chat extension from the Extensions sidebar.
- Click on the Sign in button in the Copilot Chat sidebar.
- Notice that nothing happens, and the following error is logged in the console:
Expected
- Clicking on the Sign in button should redirect me to the GitHub authentication page.
- I should be able to complete the login process and use Copilot Chat normally inside VS Code / code-server.
Actual
- Clicking on the Sign in button does nothing.
- No redirection to the GitHub login page occurs.
- The following error is thrown in the console instead:
Logs
ERR command 'workbench.action.chat.triggerSetupForceSignIn' not found: Error: command 'workbench.action.chat.triggerSetupForceSignIn' not found
at AGe.n (http://localhost:8080/stable-.../workbench.js:1251:3892)
at AGe.executeCommand (http://localhost:8080/stable-.../workbench.js:1251:3824)
at async lXe.open (http://localhost:8080/stable-.../workbench.js:1321:390)
at async hXe.open (http://localhost:8080/stable-.../workbench.js:1321:1689)Screenshot/Video
coder-server-issue-copilot.mp4
One thing I noticed is that in Codespaces installing Copilot Chat also installs a second Copilot extension which seems to be missing from Open VSX. Not sure if that is why this command is missing.
@ANGJustinl that issue show how to install the github copilot, I was able to install GitHub Copilot, but I’m unable to sign in—the redirection isn’t happening.
I ran into the same issue with the following versions
code-server 4.103.2
GitHub Copilot Chat: 0.30.2
GitHub Copilot: 1.367.1777
I was able to do the following workaround to log into GitHub and use GitHub Copilot Chat:
Click the profile icon above the gear button in the bottom left. When I click it I get “Sign in with GitHub to use GitHub Copilot” and then another click opens the login workflow.
That really worked for me. Thank you.
I downloaded the extension manually and installed it via extensions -> install from vix
Download -> https://www.vsixhub.com/vsix/63883/
I was able to login via the Accounts Icon onte left bottom.
It seems Agent mode is not working.
use
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/github/vsextensions/copilot/1.388.0/vspackage
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/github/vsextensions/copilot-chat/0.32.3/vspackage
install vsix
@code-asher I think you could document these kinds of issues in a user-accessible guide to prevent more similar, unnecessary questions.
As I understand it, Copilot is closed source and not licensed to run in non-Microsoft builds of VS Code, and using assets from the marketplace in non-Microsoft builds is also a violation of the terms of service, so I am not sure legally if we can make any recommendations here or suggest ways to work around the issue.
We could add a section saying Copilot is not supported or something like that.

