vscode-wakatime icon indicating copy to clipboard operation
vscode-wakatime copied to clipboard

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

Open krishnans2006 opened this issue 1 year ago • 4 comments

  • API Key has been entered and shows up in .wakatime.cfg
  • Turned on debug mode through vscode, also shows up in .wakatime.cfg
  • Ctrl+Shift+P > WakaTime: Open Log File... does nothing
  • Hovering over the WakaTime icon on the bottom toolbar (displaying "0 secs") shows "WakaTime: Today's coding time. Click to visit dashboard."
  • Only files in ~/.wakatime are some zip files and wakatime-internal.cfg (no log file)
  • Running on WSL, "This extension is enabled in the Remote Extension Host because it prefers to run there."

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

krishnans2006 avatar Jul 20 '23 19:07 krishnans2006

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?

alanhamlett avatar Jul 20 '23 20:07 alanhamlett

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.

krishnans2006 avatar Jul 21 '23 00:07 krishnans2006

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.

ManuelYepiz avatar Nov 13 '23 19:11 ManuelYepiz

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

nklsla avatar Nov 15 '23 10:11 nklsla