-
Notifications
You must be signed in to change notification settings - Fork 44
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
Pop up for API key show repeatedly in VScode #691
Comments
Same here. |
Can you turn on debug mode, then share your vscode dev console logs when it happens again? |
this started happening to me today too. I reinstalled, reset the config file, disabled all plugins and changed my api key. Nothing seems to work. I imagine a conflict with latest update of VSCode. Sublime Text and vim work fine. I very much need this fixed as vscode is my primary editor. It will pop up when I use ctrl + s, ctrl + n for a new file or open a new file. It opens each time interrupting work. I beg you to make this a priority. Here is the vscode dev console log (i just spammed either ctrl + n or ctrl + s to make it obvious):
Here is the waka log (i just spammed either ctrl + n or ctrl + s to make it obvious):
hopefully i didn't dox myself. |
I'm making this a priority, but I haven't been able to reproduce it on my side. Can you please share your vscode dev console logs after turning debug mode on? Here are instructions for turning on debug mode: |
@NatalieGates thanks for the logs, looks like you're using extension version 18.0.5? Can you update to v18.0.6 and share the logs again? Important: The new version might print your api key to the logs, so please remove your api key before sharing. |
@alanhamlett I restarted my computer and the issue was solved for me. Why is it always the most obvious solution that we never see. Sorry about that. |
Glad it's working 👍 If it happens again please still share the logs, since it seems a lot of people are having this same issue recently. The error message Which seems to be caused by opening the config file for reading: However, the exception message in the same line |
I think this is related to Windows Defender accidentally flagging wakatime as malware today: #654 The thing I can't figure out is why the error message |
The only reason I didn't reshare logs was I confirmed that I was on v18.0.6. I tried to learn about spawn EPERM errors. But everything kept pointing me back to the config file where the API sits. It all seemed like it should work so on a whim i finally said I'll just restart the computer. After I restarted waka/vscode stopped prompting for the api. I checked the logs again:
But again, everything is working for me now, but hopefully these logs help you. oh, also i'm not sure if this log was generated before or after restarting. |
Those |
It was resolved automatically after i allowed the file and restarted Visual Studio Code. When I quarantined the file the api error would go away and would appear to work fine but it didn't log any time on the website |
Hello @alanhamlett, |
Hello, sorry for the delay of response. |
So, I've tested. Looks like saying to Windows Defender "authorize" the suspicious application fix the bug. |
Hello @alanhamlett similar problem, this is what my defender writes: Detected PUA:Win32/Caypnamer.A!ml Affected elements .wakatime\wakatime-cli-windows-amd64.exe |
Hi guys, I was facing a similar issue a week after upgrading to v18.0.6, I think the windows defender is at fault here since it flagged the plugin, you can just go to your defender settings and disable it from in there |
Same problem, had the |
Same here, allowed |
Future discussions moved to #660. |
When I do ctrl + S to save, the pop up asking for API key appears. I've uninstall and reinstall the extension, activate and desactivate... Nothing to do.
And when I enter it, the key is not detected.
The text was updated successfully, but these errors were encountered: