wakatime / vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/vs-code
BSD 3-Clause "New" or "Revised" License
1.2k stars 133 forks source link

Error on ghost text request: (FetchError) unable to get local issuer certificate #359

Open krishnans2006 opened 11 months ago

krishnans2006 commented 11 months ago

I tried setting no_ssl_verify = true from #111 but nothing changed.

alanhamlett commented 11 months ago

What error messages do you see in your vscode dev console window?

This extension is enabled in the Remote Extension Host because it prefers to run there

That means you're using the Remote Development extension to work on files on a remote Windows machine?

Error on ghost text request: (FetchError) unable to get local issuer certificate

Is this an error message you're seeing somewhere?

krishnans2006 commented 11 months ago

What error messages do you see in your vscode dev console window?

Sorry if it wasn't clear - I was seeing the error used in the title: Error on ghost text request: (FetchError) unable to get local issuer certificate

That means you're using the Remote Development extension to work on files on a remote Windows machine?

Not exactly - I was using Remote Development to work on files within WSL.

ManuelYepiz commented 7 months ago

Hi,

I'm trying to get suggestions for T-SQL in Visual Studio 2022, I have installed SQL related packages like the SQL Server Data Tools, etc. I opened a connection to my STG Instance, and started creating a new Stored Procedure. I'm trying to get a suggestion by adding a comment inline (SET @StartDateTimeFilter = --my comment) asking to create code to get current date minus one hour, just as a test. But I get outputs from copilot as follows:

[INFO] [RequestProposalsAsync] 0 completions available.
statusNotification: Warning: unable to get local issuer certificate
[ERROR] [ghostText] [2023-11-13T19:00:38.080Z] Error on ghost text request: (FetchError) unable to get local issuer certificate

I am already logged in with a GitHub account. I am working from home using a VPN but other people from my company have been able to use copilot without issues also through the VPN.

Is there anything on my side I could try?

Thx.

nklsla commented 7 months ago

See my comment for a solution that helped me regarding this error message