Skip to content

Copilot Login Stuck from Remote Server #264367

@dipuharidasan

Description

@dipuharidasan
  • Copilot Chat Extension Version: 0.30.3
  • VS Code Version: 1.103.2 (Universal)
  • OS Version: MacOs Sequoia 15.6.1
  • Feature (e.g. agent/edit/ask mode): All
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): All
  • Logs:
2025-09-01 09:32:38.703 [error] Error: GitHubLoginFailed
    at gO._authShowWarnings (/homes/dipuh/.vscode-server/extensions/github.copilot-chat-0.30.3/dist/extension.js:552:55936)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at gO.getCopilotToken (/homes/dipuh/.vscode-server/extensions/github.copilot-chat-0.30.3/dist/extension.js:552:54475)
    at e3.getCopilotToken (/homes/dipuh/.vscode-server/extensions/github.copilot-chat-0.30.3/dist/extension.js:418:24219)
    at sO._getAuthSession (/homes/dipuh/.vscode-server/extensions/github.copilot-chat-0.30.3/dist/extension.js:549:4260)
    at n (/homes/dipuh/.vscode-server/extensions/github.copilot-chat-0.30.3/dist/extension.js:549:3693)
2025-09-01 09:36:15.243 [info] Logged in as dipuh_JNPR
2025-09-01 09:36:16.534 [info] Got Copilot token for dipuh_JNPR
2025-09-01 09:36:18.276 [info] copilot token chat_enabled: true, sku: copilot_enterprise_seat_multi_quota
2025-09-01 09:36:18.276 [info] GitHub.vscode-pull-request-github extension is not yet activated.
2025-09-01 09:36:18.299 [info] Registering default platform agent...
2025-09-01 09:36:45.199 [info] Fetched model metadata in 1265ms 575ec5d4-11ce-415a-9fb2-a452b46729f0
2025-09-01 09:36:47.991 [info] message 0 returned. finish reason: [stop]
2025-09-01 09:36:47.991 [info] request done: requestId: [907ff92f-5ba9-4c94-8671-fb325b4c1dff] model deployment ID: []
2025-09-01 09:36:47.995 [info] Latest entry: ccreq:latestrequest.copilotmd
2025-09-01 09:36:47.996 [info] ccreq:c3a89bce.copilotmd | success | gpt-4o-mini | 1565ms | [intentDetection]
2025-09-01 09:36:50.412 [info] message 0 returned. finish reason: [stop]
2025-09-01 09:36:50.412 [info] request done: requestId: [b53e72ae-f639-48e0-9df3-9c929879c6cc] model deployment ID: []
2025-09-01 09:36:50.414 [info] ccreq:8fb4ecb9.copilotmd | success | gpt-4.1 | 2081ms | [panel/unknown]

Steps to Reproduce:

  1. Login to VS Code Remote Linux Environment
  2. In the Copilot chat window click on Sign in to GitHub Copilot.
  3. The browser tries to open a URL like **http://127.0.0.1:49349/**signin?nonce=v842QbeQcijwk4uybpuIiw==
  4. Stuck there for ever.
  5. If we cancel the login from VS Code and try using "You have not yet finished authorizing this extension to use GitHub. Would you like to try a different way? (url handler)", the login works.

I don't have any GHE related settings in my VS Code. All the Copilot and GitHub URLs are accessible from my remote server via outbound proxy. It is not just me, almost all from my company face this issue.

dipuh@buildcontainer:$ ip route
default via 169.254.1.1 dev eth0
169.254.1.1 dev eth0 scope link
dipuh@buildcontainer:$

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersremote-explorerRemote explorer viewverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions