Request Error: unable to get local issuer certificate #36894
-
I've seen many people with this issue, but no full solutions posted. I'm working at an enterprise shop and we have proxys that perform SSL inspection. It's a fact of life. There is nothing I can do about... but I can put in bypass rules. I had our proxy team disable SSL inspection for https://vscode.dev/codeExchangeProxyEndpoints/github/login/oauth/access_token [2022-10-21 08:20:04.801] [renderer1] [error] [Extension Host] [ERROR] [default] [2022-10-21T13:20:04.797Z] Request Error: unable to get local issuer certificate I have github auth extension enabled, my github and msft accounts are both active in Code, but copilot is failing with a cert error. I've uninstalled Code, removed the .vscode and %appdata% folders from my windows machine, reinstalled Code and just used those 2 extensions... still not working. What exactly is the problem now? Is there another URL I need to disable SSL inspection with? It was difficult to even find that URL, it would be very helpful if someone documented what these errors mean and how to resolve them. Just saying "there is probably a VPN or something breaking it" does not help at all. What is the solution? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 25 replies
-
@lotekjunky Thank you for your feedback, our copilot team is investigating this |
Beta Was this translation helpful? Give feedback.
-
This morning, I tried copilot out again. I'm not longer getting the local issuer certificate error and copilot is giving me AI suggestions as designed. As far as I know, nothing has changed on my side, but it's working now. |
Beta Was this translation helpful? Give feedback.
-
Hey, it's broken again. Worked fine last week, nothing changed on my side... copilot activation is disabled again. |
Beta Was this translation helpful? Give feedback.
-
Hello any news on this subject, i have the same error :/ |
Beta Was this translation helpful? Give feedback.
-
Think I got it working. I'm behind company proxy and these are my settings I believe are relevant:
When I changed Also worth mentioning is that I've marked Copilot as |
Beta Was this translation helpful? Give feedback.
-
Hi, I appreciate your help @nklsla, I was unable to apply your suggestion, as I didn't get it to be honest v: haha, but I got this suggestion from a coworker that fixed it for me: "Please, try this: For anyone not familiar with this menu: Then just fill the boxes with NODE_EXTRA_CA_CERTS & the Path. Hopefully this is useful for others, I can get suggestions now by adding a comment prior to the line where I want the code: Regards. |
Beta Was this translation helpful? Give feedback.
-
If you are using copilot with zscaler, this could help with unable to get local issuer cert |
Beta Was this translation helpful? Give feedback.
-
I managed to make my 30 days free trial CoPilot work in Visual Studio 2022 on Windows behind Zscaler as follows:
|
Beta Was this translation helpful? Give feedback.
-
Hi, anyone got the following error? On Visual Studio 2022 release 17.10.2? Thanks [CopilotClientManager Error] [default] Error sending telemetry FetchError: unable to get local issuer certificate |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, by the way this configuration is using Zscaler.
|
Beta Was this translation helpful? Give feedback.
Think I got it working. I'm behind company proxy and these are my settings I believe are relevant:
When I changed
http.proxyStrictSSL
tofalse
thelocal issure certificate
problem was resolved.Also worth mentioning is that I've marked Copilot as
Trusted
inManage Trusted Extensions
in my github profile in Vscode (found at the bottom left where you activate settings sync)@hem4n7 @lansalot @lotekjunky @chuklee