You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to logon to my GitHub account inside VS code, in order to use copilot but I get the errors as below. It works completely fine in the browser. During the logon attempts in VSC it opens the browser 3 times doing different methods, all appears to be successful in the browser. Upon return to VSC it shows as failed.
Settings sync using a Microsoft account however works fine.
I am on a corporate network with self signed certs, this doesn't seem to affect things in the browser as mentioned.
I have installed the win-ca extension, both append and replace modes tested.
"http.proxyStrictSSL": false - tested does not change anything.
GitHub Authentication output:
2023-03-24 10:33:02.101 [info] Logging in for the following scopes: user:email
2023-03-24 10:33:02.116 [info] Trying without local server... (user:email)
2023-03-24 10:33:03.720 [info] Exchanging code for token...
2023-03-24 10:33:03.876 [error] FetchError: request to https://vscode.dev/codeExchangeProxyEndpoints/github/login/oauth/access_token failed, reason: unable to get local issuer certificate
at ClientRequest.<anonymous> (c:\Users\X\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:2:678330)
at ClientRequest.emit (node:events:526:28)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
2023-03-24 10:33:05.575 [info] Trying with local server... (user:email)
2023-03-24 10:33:06.413 [info] Exchanging code for token...
2023-03-24 10:33:06.595 [error] FetchError: request to https://vscode.dev/codeExchangeProxyEndpoints/github/login/oauth/access_token failed, reason: unable to get local issuer certificate
at ClientRequest.<anonymous> (c:\Users\X\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:2:678330)
at ClientRequest.emit (node:events:526:28)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
2023-03-24 10:33:18.080 [info] Trying device code flow... (user:email)
2023-03-24 10:33:25.054 [info] Getting user info...
2023-03-24 10:33:25.201 [error] request to https://api.github.com/user failed, reason: unable to get local issuer certificate
2023-03-24 10:33:25.202 [error] Error: network error
at t.GitHubServer.getUserInfo (c:\Users\X\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:2:1019475)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at t.GitHubAuthenticationProvider.o (c:\Users\X\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:2:1009733)
at t.GitHubAuthenticationProvider.createSession (c:\Users\X\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:2:1009216)
2023-03-24 10:47:00.039 [info] Getting sessions for all scopes...
2023-03-24 10:47:00.040 [info] Got 0 sessions for ...
VS Code version: Code 1.76.2 (ee2b180, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
Tested also on insiders, clean install no extensions. Also tested with win-ca installed, no change.
Last try shown
2023-03-24 11:29:07.139 [error] request to https://api.github.com/user failed, reason: unable to get local issuer certificate
2023-03-24 11:29:07.140 [error] Error: network error
at t.GitHubServer.getUserInfo (c:\Users\1820134\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\github-authentication\dist\extension.js:2:1019475)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async t.GitHubAuthenticationProvider.o (c:\Users\1820134\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\github-authentication\dist\extension.js:2:1009733)
at async t.GitHubAuthenticationProvider.createSession (c:\Users\1820134\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\github-authentication\dist\extension.js:2:1009216)
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Type: Bug
I am trying to logon to my GitHub account inside VS code, in order to use copilot but I get the errors as below. It works completely fine in the browser. During the logon attempts in VSC it opens the browser 3 times doing different methods, all appears to be successful in the browser. Upon return to VSC it shows as failed.
Settings sync using a Microsoft account however works fine.
I am on a corporate network with self signed certs, this doesn't seem to affect things in the browser as mentioned.
I have installed the win-ca extension, both append and replace modes tested.
"http.proxyStrictSSL": false - tested does not change anything.
GitHub Authentication output:
VS Code version: Code 1.76.2 (ee2b180, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
Tested also on insiders, clean install no extensions. Also tested with win-ca installed, no change.
Last try shown
Version: 1.77.0-insider (user setup)
Commit: c83f54a
Date: 2023-03-24T05:23:09.316Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (17)
A/B Experiments
The text was updated successfully, but these errors were encountered: