Closed knyazWeb closed 13 hours ago
I believe you have Copilot Chat disabled by your organization. Can you try the latest insiders + pre-release of the extension
I don't use organization copilot, I use individual. Pre-release has the same problem with family selection error:
Log:
2024-07-16 22:11:38.022 [info] [FetcherService] Using the Helix fetcher.
2024-07-16 22:11:38.022 [info] [gitExtensionService] Initializing Git extension service.
2024-07-16 22:11:38.317 [info] [auth] Logged in as knyazWeb
2024-07-16 22:11:38.318 [info] [auth] Logged in as knyazWeb
2024-07-16 22:11:38.417 [info] [gitExtensionService] Successfully activated the vscode.git extension.
2024-07-16 22:11:38.417 [info] [gitExtensionService] Enablement state of the vscode.git extension: true.
2024-07-16 22:11:38.417 [info] [gitExtensionService] Successfully registered Git commit message provider.
2024-07-16 22:11:39.328 [info] [chat] copilot token chat_enabled: true
2024-07-16 22:11:39.328 [info] [githubTitleAndDescriptionProvider] GitHub.vscode-pull-request-github extension is not yet activated.
2024-07-16 22:11:39.335 [info] [auth] Got Copilot token for knyazWeb
2024-07-16 22:11:39.344 [info] [chat] copilot token chat_enabled: true
2024-07-16 22:11:39.344 [info] [auth] Got Copilot token for knyazWeb
2024-07-16 22:11:39.362 [info] [auth] Logged in as knyazWeb
2024-07-16 22:11:39.363 [info] [chat] copilot token chat_enabled: true
2024-07-16 22:11:39.363 [info] [auth] Got Copilot token for knyazWeb
2024-07-16 22:03:34.709 [info] [ModelMetadataFetcher] Failed to fetch models, SyntaxError: Unexpected token 'a', "access denied
" is not valid JSON
at JSON.parse (
I believe you have Copilot Chat disabled by your organization. Can you try the latest insiders + pre-release of the extension
You need to use VS Code insiders to use the latest pre-release. The version should match todays date
Switched to VS code insiders and latest pre-release: Chat error:
GitHub Copilot log:
GitHub Copilot Chat log: 2024-07-16 23:26:12.298 [info] [FetcherService] Using the Helix fetcher. 2024-07-16 23:26:12.298 [info] [gitExtensionService] Initializing Git extension service. 2024-07-16 23:26:12.298 [info] [RemoteAgents] Unable to fetch remote agents because user is not signed in. 2024-07-16 23:26:12.298 [info] [gitExtensionService] Successfully activated the vscode.git extension. 2024-07-16 23:26:12.298 [info] [gitExtensionService] Enablement state of the vscode.git extension: true. 2024-07-16 23:26:12.298 [info] [gitExtensionService] Successfully registered Git commit message provider. 2024-07-16 23:26:12.569 [info] [auth] Logged in as knyazWeb 2024-07-16 23:26:12.570 [info] [auth] Logged in as knyazWeb 2024-07-16 23:26:12.570 [info] [auth] Logged in as knyazWeb 2024-07-16 23:26:12.570 [info] [auth] Logged in as knyazWeb 2024-07-16 23:26:12.570 [info] [auth] Logged in as knyazWeb 2024-07-16 23:26:13.803 [info] [auth] Got Copilot token for knyazWeb 2024-07-16 23:26:13.843 [info] [auth] Got Copilot token for knyazWeb 2024-07-16 23:26:13.850 [info] [chat] copilot token chat_enabled: true 2024-07-16 23:26:13.850 [info] [WorkspaceChunkEmbeddingsIndex] Trying to preload workspace embeddings 2024-07-16 23:26:13.850 [info] [githubTitleAndDescriptionProvider] GitHub.vscode-pull-request-github extension is not yet activated. 2024-07-16 23:26:13.888 [info] [WorkspaceChunkEmbeddingsIndex] Preloaded 0 files. Preload elapsed time: 43.36875000000009ms 2024-07-16 23:26:13.888 [info] [WorkspaceChunkEmbeddingsIndex] Preloading trying to pre-compute embeddings for 0 files 2024-07-16 23:26:13.888 [info] [WorkspaceChunkEmbeddingsIndex] Preloaded completed for 0 chunks. Total preload time: 44.00645800000029ms 2024-07-16 23:26:13.906 [info] [auth] Got Copilot token for knyazWeb 2024-07-16 23:26:13.918 [info] [auth] Got Copilot token for knyazWeb 2024-07-16 23:26:13.919 [info] [auth] Got Copilot token for knyazWeb 2024-07-16 23:26:13.933 [info] [auth] Logged in as knyazWeb 2024-07-16 23:26:14.247 [info] [auth] Got Copilot token for knyazWeb 2024-07-16 23:26:14.247 [info] [chat] copilot token chat_enabled: true 2024-07-16 23:26:14.514 [info] [ModelMetadataFetcher] Failed to fetch models, Error: Failed to fetch models: access denied
at yA._fetchModels (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:14574)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at yA.getEmbeddingsModel (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:13859)
at bT.getEmbeddingsEndpoint (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:17478)
at /Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:603:1846
at CS._registerEmbeddings (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:603:1747)
at async Promise.all (index 1)
at async Promise.allSettled (index 0)
at dct (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1307:4382)
at uct (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1307:3350)
at m.n (/private/var/folders/k1/mcmkhqfj71db6_sbcnsfqtvm0000gn/T/AppTranslocation/7BB5313E-AA01-495B-9148-06D8CE13CF2F/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6409)
at m (/private/var/folders/k1/mcmkhqfj71db6_sbcnsfqtvm0000gn/T/AppTranslocation/7BB5313E-AA01-495B-9148-06D8CE13CF2F/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6372)
at m.l (/private/var/folders/k1/mcmkhqfj71db6_sbcnsfqtvm0000gn/T/AppTranslocation/7BB5313E-AA01-495B-9148-06D8CE13CF2F/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:5829)
2024-07-16 23:26:14.514 [info] [contributions] activationBlocker from 'languageModelAccess' took for 2249ms 2024-07-16 23:26:14.515 [info] [ModelMetadataFetcher] Failed to fetch models, Error: Failed to fetch models: access denied
at yA._fetchModels (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:14574)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at yA.getAllChatModels (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:13388)
at bT.getAllChatEndpoints (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:17669)
at r (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:603:670)
at CS._registerLanguageModels (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:603:1513)
at async Promise.all (index 0)
2024-07-16 23:26:21.941 [info] [ModelMetadataFetcher] Failed to fetch models, Error: Failed to fetch models: access denied
at yA._fetchModels (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:14574)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at yA.getChatModel (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:13516)
at bT.getChatEndpoint (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:17127)
at Zs.invoke (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:587:4652)
at mT._provideResponseWithProgress (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1223:1360)
at mT.handleRequest (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1221:1975)
at t.y (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1232:1839)
at s.$invokeAgent (/private/var/folders/k1/mcmkhqfj71db6_sbcnsfqtvm0000gn/T/AppTranslocation/7BB5313E-AA01-495B-9148-06D8CE13CF2F/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:50874)
2024-07-16 23:26:21.943 [info] [extension] Error: Failed to fetch models: access denied
at yA._fetchModels (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:14574)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at yA.getChatModel (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:13516)
at bT.getChatEndpoint (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1298:17127)
at Zs.invoke (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:587:4652)
at mT._provideResponseWithProgress (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1223:1360)
at mT.handleRequest (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1221:1975)
at t.y (/Users/knyazvelikiy/.vscode-insiders/extensions/github.copilot-chat-0.18.2024071601/dist/extension.js:1232:1839)
at s.$invokeAgent (/private/var/folders/k1/mcmkhqfj71db6_sbcnsfqtvm0000gn/T/AppTranslocation/7BB5313E-AA01-495B-9148-06D8CE13CF2F/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:50874)
You need to use VS Code insiders to use the latest pre-release. The version should match todays date
@knyazWeb I noticed your GH location says Russia and GitHub Copilot is currently under trade restrictions with Russia. See https://docs.github.com/en/site-policy/other-site-policies/github-and-trade-controls#github-copilot
This is likely the reason you're unable to access the services.
Same issue for me
@oglenyaboss See my message about trade restrictions above. I see your GH location is marked as Russia as well
Closing due to no updated info, as this is likely a trade restrictions issue
Github Copilot Chat Diagnostics:
GitHub Copilot Chat
Network
User Settings:
DNS Lookup api.githubcopilot.com: 140.82.113.22
Fetching https://api.githubcopilot.com/_ping:
Steps to Reproduce: