vscode icon indicating copy to clipboard operation
vscode copied to clipboard

copilot login fail ,cause=certificate has expired

Open starthh opened this issue 1 year ago • 5 comments

Type: Bug

  1. login github in VScode
  2. happen: 2024-08-23 17:22:42.104 [info] [fetcher] Using Helix fetcher. 2024-08-23 17:22:42.105 [info] [code-referencing] Public code references are enabled. 2024-08-23 17:22:42.108 [info] [fetcher] Using Helix fetcher. 2024-08-23 17:22:42.108 [info] [code-referencing] Public code references are enabled. 2024-08-23 17:26:15.233 [error] [auth] Canceled 2024-08-23 17:26:17.507 [info] [certificates] Removed 9 expired certificates 2024-08-23 17:26:19.394 [error] [auth] auth: FetchError: tunneling socket could not be established, cause=certificate has expired at fetch (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\node_modules@adobe\helix-fetch\src\fetch\index.js:99:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at cachingFetch (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\node_modules@adobe\helix-fetch\src\fetch\index.js:288:16) at MO.fetch (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\lib\src\network\helix.ts:93:22) at fetchCopilotToken (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\lib\src\auth\copilotToken.ts:196:16) at authFromGitHubToken (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\lib\src\auth\copilotToken.ts:129:22) at auth (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\extension\src\auth.ts:40:25) at authShowWarnings (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\extension\src\auth.ts:131:25) at mM.getCopilotToken (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\extension\src\auth.ts:174:33) at attemptAuthentication (c:\Users\esthe.vscode\extensions\github.copilot-1.223.0\extension\src\auth.ts:58:9) { type: 'system', _name: 'FetchError', code: 'CERT_HAS_EXPIRED', errno: undefined, erroredSysCall: undefined } fail in VScode 图片 copilot still active in web Uploading 图片.png…

VS code version: 1.92.2 (user setup) time: 2024-08-14T17:29:30.058Z Electron: 30.1.2 ElectronBuildId: 9870757 Chromium: 124.0.6367.243 Node.js: 20.14.0 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12500H (16 x 3110)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.73GB (3.97GB free)
Process Argv D:\02 codes\Aexercies\intent-recognition-ex1 --crash-reporter-id 80ceec92-8c6b-4f4b-b595-c568c3136784
Screen Reader no
VM 0%
Extensions (30)
Extension Author (truncated) Version
vscode-django bat 1.15.0
vscode-typora cwe 3.3.10
vscode-open-in-typora cyb 1.2.0
freemind DaC 0.1.8
codespaces Git 1.17.2
copilot Git 1.223.0
copilot-chat Git 0.18.2
pretty-json-vscode Hon 0.0.2
vscode-markdown-mindmap-preview jos 1.3.0
vsc-python-indent Kev 1.18.0
json Mee 0.1.2
prettify-json moh 0.0.3
vscode-language-pack-zh-hans MS- 1.92.2024081409
vscode-edge-devtools ms- 2.1.5
debugpy ms- 2024.10.0
isort ms- 2023.10.1
python ms- 2024.12.3
vscode-pylance ms- 2024.8.1
jupyter ms- 2024.7.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.19
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
makefile-tools ms- 0.10.26
powershell ms- 2024.2.2
autodocstring njp 0.6.1
altitude-script-language uca 0.0.3
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.3.1
markdown-all-in-one yzh 3.6.2
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-c:31111717
pme_test_t:31118333
ei213698:31121563

starthh avatar Aug 23 '24 09:08 starthh

copilot still active in web 图片

starthh avatar Aug 23 '24 09:08 starthh

I'm a just a random guy, but check this issue, which I believe was released in VSCode 1.92.2. Does the new update fixes your issue?

TiborVoelcker avatar Aug 23 '24 12:08 TiborVoelcker

I'm a just a random guy, but check this issue, which I believe was released in VSCode 1.92.2. Does the new update fixes your issue?

My VS code version is 1.92.2 when I report this issue ...

starthh avatar Aug 26 '24 09:08 starthh

I also encountered this error and at one point thought it was my problem, so I reinstalled VSCode and cleared the browser cache, but it was still ineffective

amm10090 avatar Aug 28 '24 05:08 amm10090

Please check the output of F1 > Developer: GitHub Copilot Chat Diagnostics in VS Code and append it here.

chrmarti avatar Aug 28 '24 09:08 chrmarti

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!