vscode-copilot-release icon indicating copy to clipboard operation
vscode-copilot-release copied to clipboard

Copilot does not give me any suggestions

Open rednag opened this issue 1 year ago • 3 comments

I'm not getting any logs except that it is successfully authenticated.

Already tested it with code-insiders_1.89.0-1712729740_amd64.deb, but same issue.

  • VS Code Version: code_1.88.0-1712152114_amd64.deb
  • OS Version: Ubuntu 22.04.1
  • Logs: I don't see any, although I set the log level to debug.

Steps to Reproduce:

  1. Opening VSCode
  2. Waiting for Copilot to authenticate
  3. Start coding without suggestions, although the spinner at the bottom right is spinning all the time.

rednag avatar Apr 10 '24 14:04 rednag

Although Copilot Chat is working like a charm.

edit: After downgrade from v1.178 to v1.138 I have debug logs.

2024-04-10 16:36:12.634 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:12.956 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:13.809 [info] [ghostText] Cancelled during debounce 2024-04-10 16:36:13.932 [info] [ghostText] Cancelled during debounce 2024-04-10 16:36:14.058 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:14.258 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:15.953 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:16.390 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:17.458 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:17.677 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:18.699 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:46.902 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex 2024-04-10 16:36:48.208 [info] [default] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex

rednag avatar Apr 10 '24 14:04 rednag

2024-04-10 17:30:34.345 [error] [default] Error sending telemetry FetchError: The pending stream has been canceled (caused by: self signed certificate in certificate chain) at fetch (/home/user/.vscode/extensions/github.copilot-1.178.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:99:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at cachingFetch (/home/user/.vscode/extensions/github.copilot-1.178.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:288:16) at ZU.fetch (/home/user/.vscode/extensions/github.copilot-1.178.0/lib/src/network/helix.ts:78:22) { type: 'system', _name: 'FetchError', code: 'ERR_HTTP2_STREAM_CANCEL', errno: undefined, erroredSysCall: undefined

rednag avatar Apr 11 '24 06:04 rednag

self signed certificate in certificate chain

I think this might be the root problem. Could you please try out the latest pre-release version of the extension together with vscode insiders? There we have changed the network stack we're using by default to be the Chromium network stack. Thanks!

alexdima avatar May 10 '24 11:05 alexdima

Continuing in https://github.com/microsoft/vscode-copilot-release/issues/741.

chrmarti avatar Jul 11 '24 13:07 chrmarti