Skip to content
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

Copilot Chat not work #7274

Open
2 tasks done
luoyanzecs opened this issue Mar 20, 2025 · 2 comments
Open
2 tasks done

Copilot Chat not work #7274

luoyanzecs opened this issue Mar 20, 2025 · 2 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@luoyanzecs
Copy link

luoyanzecs commented Mar 20, 2025

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser:
    edge
  • Local OS:
    Windows
  • Remote OS:
    ghcr.io/coder/code-server:4.98.2-39
  • Remote Architecture:
  • code-server --version:
    4.98.2 e2c489d with Code 1.98.2

Steps to Reproduce

  1. docker run ghcr.io/coder/code-server:4.98.2-39
  2. http://localhost:8080, or use caddy provide https connection
  3. open copilot chat

Expected

copilot chat should has a welcome page and reminder user to login.
get a correspond when send message to copilot.

Actual

white page.

Logs

2025-03-20 17:58:36.149 [info] [Window] Resolving connection token (localhost)...
2025-03-20 17:58:36.155 [info] [Window] Resolved connection token (localhost) after 6 ms
2025-03-20 17:58:36.160 [info] [Window] Creating a socket (renderer-Management-bdd5ed4d-96a4-4e93-88b1-3457d2ff0f44)...
2025-03-20 17:58:36.319 [info] [Window] Creating a socket (renderer-Management-bdd5ed4d-96a4-4e93-88b1-3457d2ff0f44) was successful after 158 ms.
2025-03-20 17:58:36.930 [info] [Views] Added views:workbench.panel.chat.view.copilot in workbench.panel.chat
2025-03-20 17:58:36.930 [info] [Views] Added views:workbench.panel.chat.view.edits in workbench.panel.chatEditing
2025-03-20 17:58:36.930 [info] [Views] Added views:outline in workbench.view.explorer
2025-03-20 17:58:36.930 [info] [Views] Added views:workbench.view.search in workbench.view.search
2025-03-20 17:58:36.930 [info] [Views] Added views:workbench.scm in workbench.view.scm
2025-03-20 17:58:36.930 [info] [Views] Added views:workbench.panel.markers.view in workbench.panel.markers
2025-03-20 17:58:36.930 [info] [Views] Added views:workbench.panel.output in workbench.panel.output
2025-03-20 17:58:36.930 [info] [Views] Added views:terminal in terminal
2025-03-20 17:58:36.930 [info] [Views] Added views:timeline in workbench.view.explorer
2025-03-20 17:58:36.946 [info] [Views] Added views:workbench.explorer.fileView in workbench.view.explorer
2025-03-20 17:58:36.970 [info] [Window] Creating a socket (renderer-ExtensionHost-7f1efdee-e107-4c33-926d-9a657fe4df52)...
2025-03-20 17:58:37.051 [info] [Window] [Service Worker] registered
2025-03-20 17:58:37.319 [info] [Window] Creating a socket (renderer-ExtensionHost-7f1efdee-e107-4c33-926d-9a657fe4df52) was successful after 349 ms.
2025-03-20 17:58:37.413 [info] [Views] Added views:workbench.debug.welcome in workbench.view.debug
2025-03-20 17:58:37.607 [info] [Views] Added views:~remote.forwardedPorts in ~remote.forwardedPortsContainer
2025-03-20 17:58:38.600 [info] [Views] Added views:workbench.panel.repl.view in workbench.panel.repl
2025-03-20 17:58:39.564 [info] [Window] Updating additional builtin extensions cache
2025-03-20 17:58:54.043 [error] [Window] No default agent contributed: CodeExpectedError: No default agent contributed
    at dXe.U (https://localhost/stable-e2c489dd00f163b1a8d959965b0c30c1a978a080/static/out/vs/code/browser/workbench/workbench.js:2005:25295)
2025-03-20 17:59:08.083 [error] [Window] No default agent contributed: CodeExpectedError: No default agent contributed
    at dXe.U (https://localhost/stable-e2c489dd00f163b1a8d959965b0c30c1a978a080/static/out/vs/code/browser/workbench/workbench.js:2005:25295)
2025-03-20 17:59:08.096 [error] [Window] Edit session was created for a non-existing chat session: 0f68dc55-5541-42a7-b40c-7ccfc5823895: CodeExpectedError: Edit session was created for a non-existing chat session: 0f68dc55-5541-42a7-b40c-7ccfc5823895
    at _Xe.u (https://localhost/stable-e2c489dd00f163b1a8d959965b0c30c1a978a080/static/out/vs/code/browser/workbench/workbench.js:2032:16709)
    at _Xe.createEditingSession (https://localhost/stable-e2c489dd00f163b1a8d959965b0c30c1a978a080/static/out/vs/code/browser/workbench/workbench.js:2032:16541)
    at async Ute.value (https://localhost/stable-e2c489dd00f163b1a8d959965b0c30c1a978a080/static/out/vs/code/browser/workbench/workbench.js:841:27388)
2025-03-20 18:01:29.700 [info] [Views] Added views:workbench.views.extensions.remote.installed,workbench.views.extensions.web.installed,workbench.views.extensions.popular,extensions.recommendedList in workbench.view.extensions
2025-03-20 18:01:29.702 [info] [Views] Removed views:workbench.views.extensions.popular from workbench.view.extensions
2025-03-20 18:01:30.067 [info] [Views] Added views:workbench.views.extensions.popular in workbench.view.extensions
2025-03-20 18:01:33.225 [info] [Views] Removed views:extensions.recommendedList,workbench.views.extensions.popular,workbench.views.extensions.web.installed,workbench.views.extensions.remote.installed from workbench.view.extensions
2025-03-20 18:01:33.233 [info] [Views] Added views:workbench.views.extensions.marketplace in workbench.view.extensions
2025-03-20 18:01:33.234 [error] [Network] #2: https://open-vsx.org/vscode/gallery/extensionquery - error POST Canceled
2025-03-20 18:01:45.526 [info] [Views] Removed views:workbench.views.extensions.marketplace from workbench.view.extensions
2025-03-20 18:01:45.540 [info] [Views] Added views:workbench.views.extensions.remote.installed,workbench.views.extensions.web.installed,workbench.views.extensions.popular,extensions.recommendedList in workbench.view.extensions
2025-03-20 18:11:57.642 [error] [Window] No default agent contributed: CodeExpectedError: No default agent contributed
    at dXe.U (https://localhost/stable-e2c489dd00f163b1a8d959965b0c30c1a978a080/static/out/vs/code/browser/workbench/workbench.js:2005:25295)
2025-03-20 18:11:57.642 [error] [Window] Cannot read properties of undefined (reading 'sessionId'): TypeError: Cannot read properties of undefined (reading 'sessionId')
    at RL.Hb (https://localhost/stable-e2c489dd00f163b1a8d959965b0c30c1a978a080/static/out/vs/code/browser/workbench/workbench.js:841:40399)
2025-03-20 18:13:23.070 [info] [Window] Extension host (Remote) is unresponsive.
2025-03-20 18:13:23.076 [info] [Window] Extension host (Remote) is responsive.
2025-03-20 18:13:28.064 [info] [Window] Extension host (Remote) is unresponsive.
2025-03-20 18:14:23.081 [info] [Window] Extension host (Remote) is responsive.
2025-03-20 18:14:28.060 [info] [Window] Extension host (Remote) is unresponsive.
2025-03-20 18:15:13.502 [info] [Window] Extension host (Remote) is responsive.

Screenshot/Video

Image

Does this bug reproduce in native VS Code?

No, VS Code on windows works.

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

I try to use caddy provide a secure connection over https, but it dose not work yet.

@luoyanzecs luoyanzecs added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Mar 20, 2025
@benz0li
Copy link
Contributor

benz0li commented Mar 20, 2025

The use of the GitHub Copilot extension is restricted to Microsoft VS Code.

Cross reference:

@kovjanos
Copy link

kovjanos commented Mar 24, 2025

Is this now enforced starting with 4.98? I'm using Github Copilot w/o issues in 4.96.x. and 4.97.1.
so just did a quick minimal test and 4.98.2 with GH-cp 1.291.0 and GH-cp-chat 0.25.1 seems to be working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants