wakatime/wakatime-cli

Microsoft Defender is blocking WakaTime...

zhangta opened this issue · 4 comments

OS: Win10 21H2 (19044.2130)
VSCode: 1.73.0 (system setup)
WakaTime: v21.0.0

Snipaste_2022-11-06_19-05-53

Snipaste_2022-11-06_20-31-47

What's the warning message from your VSCode dev console window?

That's not the dev console. To open the dev console, go to Help -> Toggle Developer Tools.

Please take a look again.

Snipaste_2022-11-07_19-59-12

Some things I noticed:

  • your wakatime.log file shows wakatime-cli is executing (not blocked by Windows Defender)
  • your wakatime.log file shows wakatime-cli can't connect to the WakaTime API
  • your vscode dev console shows spawn EPERM when the plugin uses vscode's nodejs api to read the config file ~/.wakatime.cfg

That means there's probably two separate issues here:

  1. wakatime-cli unable to connect to the WakaTime API
  2. the vscode plugin unable to read ~/.wakatime.cfg

Can you check Windows Firewall and Windows Defender settings for recently blocked apps?