Skip to content

GitHubLoginFailed #3939

Closed as not planned
Closed as not planned
@chrmarti

Description

@chrmarti

@chrmarti sure thing, thank you

(F1 > Developer: GitHub Copilot Chat Diagnostics)

GitHub Copilot Chat

  • Extension Version: 0.23.2 (prod)
  • VS Code: vscode/1.96.2
  • OS: Linux

Network

User Settings:

  "github.copilot.advanced.debug.useElectronFetcher": true,
  "github.copilot.advanced.debug.useNodeFetcher": false,
  "github.copilot.advanced.debug.useNodeFetchFetcher": true

Connecting to https://api.github.com:

  • DNS ipv4 Lookup: 20.217.135.0 (8 ms)
  • DNS ipv6 Lookup: Error (13 ms): getaddrinfo ENOTFOUND api.github.com
  • Proxy URL: None (17 ms)
  • Electron fetch (configured): HTTP 200 (179 ms)
  • Node.js https: HTTP 200 (37 ms)
  • Node.js fetch: HTTP 200 (203 ms)
  • Helix fetch: HTTP 200 (124 ms)

Connecting to https://api.githubcopilot.com/_ping:

  • DNS ipv4 Lookup: 140.82.114.22 (7 ms)
  • DNS ipv6 Lookup: Error (8 ms): getaddrinfo ENOTFOUND api.githubcopilot.com
  • Proxy URL: None (2 ms)
  • Electron fetch (configured): HTTP 200 (137 ms)
  • Node.js https: HTTP 200 (424 ms)
  • Node.js fetch: HTTP 200 (441 ms)
  • Helix fetch: HTTP 200 (435 ms)

Documentation

In corporate networks: Troubleshooting firewall settings for GitHub Copilot.

(F1 > Output: Show Output Channels... > GitHub Copilot Chat)

2025-01-11 11:15:51.364 [info] Using the Electron fetcher.
2025-01-11 11:15:51.364 [info] Initializing Git extension service.
2025-01-11 11:15:51.364 [info] Successfully activated the vscode.git extension.
2025-01-11 11:15:51.364 [info] Enablement state of the vscode.git extension: true.
2025-01-11 11:15:51.364 [info] Successfully registered Git commit message provider.
2025-01-11 11:15:52.249 [warning] GitHub login failed
2025-01-11 11:15:52.250 [info] copilot token chat_enabled: undefined, sku: 
2025-01-11 11:15:53.539 [warning] GitHub login failed
2025-01-11 11:15:53.546 [error] Error: GitHubLoginFailed
    at B0._authShowWarnings (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3909)
    at B0.getCopilotToken (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:2438)
    at dF.getCopilotToken (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:26267)
    at IZ.waitForChatEnabled (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:444:13713)
    at IZ.run (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:444:13432)
    at w0.askToUpgradeAuthPermissions (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:444:12870): Failed to get copilot token
2025-01-11 11:15:53.546 [error] You are not signed in to GitHub. Please sign in to use Copilot.
2025-01-11 11:15:53.546 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2025-01-11 11:15:53.546 [error] Error: GitHubLoginFailed
    at B0._authShowWarnings (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3909)
    at B0.getCopilotToken (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:2438)
    at dF.getCopilotToken (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:26267)
    at Y0._getAuthSession (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:488:2825)
    at Object.A [as task] (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:488:640)
    at xC._processQueue (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:487:1101)
2025-01-11 11:15:53.546 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2025-01-11 11:15:53.546 [error] Error: GitHubLoginFailed
    at B0._authShowWarnings (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3909)
    at B0.getCopilotToken (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:2438)
    at dF.getCopilotToken (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:26267)
    at Y0._getAuthSession (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:488:2825)
    at r (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:488:2288)
    at Y0._registerEmbeddings (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:488:2787)
    at async Promise.all (index 1)
    at async Promise.allSettled (index 0)
    at tB.waitForActivationBlockers (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:13668)
    at /home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:2255:4201
    at Frr (/home/user/.vscode/extensions/github.copilot-chat-0.23.2/dist/extension.js:2255:4014)
    at K0.n (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4447)
    at K0.m (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4410)
    at K0.l (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:3866)
2025-01-11 11:15:53.546 [info] activationBlocker from 'languageModelAccess' took for 1179ms
2025-01-11 11:15:54.075 [warning] [repo:nvm-sh/nvm] Error fetching code search. Error: bad request: Authorization header is badly formatted
. Retrying in 1ms. Query: text
2025-01-11 11:15:54.313 [warning] [repo:nvm-sh/nvm] Error fetching code search. Error: bad request: Authorization header is badly formatted
. Retrying in 2ms. Query: text
2025-01-11 11:15:54.551 [warning] [repo:nvm-sh/nvm] Error fetching code search. Error: bad request: Authorization header is badly formatted
. Retrying in 3ms. Query: text
2025-01-11 11:15:54.652 [warning] [repo:nvm-sh/nvm] Max Retry Error thrown while querying 'text'
2025-01-11 11:17:10.185 [info] Removed 1 expired certificates

Originally posted by @rgonaute in #3821

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions