Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WakaTime Error in status bar #251

Closed
alanhamlett opened this issue Dec 26, 2021 · 6 comments
Closed

WakaTime Error in status bar #251

alanhamlett opened this issue Dec 26, 2021 · 6 comments

Comments

@alanhamlett
Copy link
Member

I'm having the same problem, at least with VScode. The plugin reports "WakaTime Error" and asks for the API key, which is valid. I even reset it a few days ago to make sure. It recorded my time on the 20th and 23rd, but not the 21st, 22nd, 25th, or today, and I did at least a few hours each day. I'm able to connect to the website fine. It's just the VSCode plugin that's not working.

Originally posted by @Perlkonig in #247 (comment)

@aggietallboy
Copy link

Having substantially the same behavior (no error though)... I keep getting prompted for the API key, and it's got the correct key there prepopulated, where i can just hit enter.

I checked the settings file, and see that the key is correct there too.

So far no time getting recorded, though I've been on it ~10-12 hours past couple days.

image

I do keep getting this in the developer console:
[WakaTime][WARN] Unable to get api key: Error: spawn EPERM

@gandarez
Copy link
Member

@aggietallboy are you on windows?

@alanhamlett
Copy link
Member Author

alanhamlett commented Feb 17, 2022

@aggietallboy thanks for the error message! That shows it's caused by vscode-wakatime not wakatime-cli. Can you update to v18.0.6 of the plugin, turn on debug mode, then share your vscode dev console logs when it happens again?

@steventango
Copy link

steventango commented Feb 17, 2022

Hi, I also have this issue, on Windows 11, using v18.0.6, here are the dev console logs with debug mode on:
image

Also, Windows Security is flagging Wakatime all of the sudden, this might be related
image

Further, when you allow the wakatime-cli-windows-amd64.exe to run in Windows Security, it works again.

@alanhamlett
Copy link
Member Author

Closing as duplicate of wakatime/wakatime-cli#691. Let's move the conversation there.

@steventango the windows security issue is wakatime/wakatime-cli#654

@aggietallboy
Copy link

aggietallboy commented Feb 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants