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.23k stars 137 forks source link

WakaTime be initialized but no data on dashboard. #267

Closed yuchiXiong closed 2 years ago

yuchiXiong commented 2 years ago

Hello, I am using vscode-wakatime on WSL2(ubuntu 20.04.4 LTS).

Now, My WakaTime initialized but no data on my dashboard.

I'm read Troubleshooting and opened the vscode developer tools, I saw the this tips in the console:

[Extension Host]
[WakaTime][DEBUG] Extension enabled and reporting coding stats to dashboard.

[Extension Host]
[WakaTime][DEBUG] Status bar icon enabled.

[Extension Host]
[WakaTime]
[WARN] GitHub API Response Error: Error: Failed to establish a socket connection to proxies: ["PROXY 127.0.0.1:7890"]

[Extension Host]
[WakaTime][DEBUG] WakaTime initialized.

Considering that the web proxy software I was using might be affecting it, I closed and quit the web proxy software, but unfortunately the problem was not resolved.

In addition, when I use vscode-wakatime on my Windows, It works very perfect.

This is my environment version's list:

my vscode info:

版本: 1.66.0 (user setup)
提交: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
日期: 2022-03-30T05:50:14.623Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Windows_NT x64 10.0.19044
yuchiXiong commented 2 years ago

After a few tries, I solved the problem 😅

When I close and exit the network proxy software, I did not restart my VS Code, when I try to restart, wakatime-vscode starts to download wakatime-cli, just wait for it to download, when the console download is complete and After outputting WakaTime initialized., I can start and use the network proxy software again without affecting WakaTime acquisition data. ❤