DEV Community

Cover image for Copilot or Wakatime VSCode extensions not working on WSL: Solution
Pure
Pure

Posted on

2

Copilot or Wakatime VSCode extensions not working on WSL: Solution

TLDR: add

"remote.extensionKind": {
        "WakaTime.vscode-wakatime": [ "ui" ],
        "GitHub.copilot": [ "ui" ],
        "GitHub.copilot-chat": ["ui"]
}
Enter fullscreen mode Exit fullscreen mode

to your vscode settings.json

I recently encountered a problem with Windows' WSL. When opening a project from the WSL in Visual Studio Code, two of my extensions stopped working. Wakatime and Github Copilot. After a lot of debugging, it seems to be a web request certificate error that WSL makes. To fix this, simply run the extensions locally on Windows instead of on WSL by editing your VSCode settings.json (see TLDR).

ui stands for running the extension locally on Windows and workspace would mean running it on WSL.

There are also other solutions, such as ignoring the unauthorised requests or using a VPN or a proxy. But I think this is the easiest one.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay