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

VSCode always asks for API key #324

Closed
0xcaffebabe opened this issue Jan 28, 2023 · 6 comments
Closed

VSCode always asks for API key #324

0xcaffebabe opened this issue Jan 28, 2023 · 6 comments

Comments

@0xcaffebabe
Copy link

Even regenerate new API key input, wakatime plugin still asks the API key.

No error log or warning log.

image

@alanhamlett
Copy link
Member

If you enable debug mode what logs do you see in your ~/.wakatime.log file?

Here's how to enable debug mode: https://github.com/wakatime/vscode-wakatime#troubleshooting

@0xcaffebabe
Copy link
Author

If you enable debug mode what logs do you see in your ~/.wakatime.log file?

Here's how to enable debug mode: https://github.com/wakatime/vscode-wakatime#troubleshooting

I see these warning:

image

is network problem?

@alanhamlett
Copy link
Member

Yes, that means the plugin isn't able to download/update wakatime-cli from GitHub. Do you need a proxy to connect to the internet?

@0xcaffebabe
Copy link
Author

Yes, that means the plugin isn't able to download/update wakatime-cli from GitHub. Do you need a proxy to connect to the internet?

I set the proxy in vscode, but it still cant download, has any way to manual to download 'wakatime-cli-windows-amd64' file and replace local file?

image

@alanhamlett
Copy link
Member

has any way to manual to download 'wakatime-cli-windows-amd64' file and replace local file?

Yes, download this zip file then extract it and copy wakatime-cli-windows-amd64.exe to $HOME/.wakatime/wakatime-cli-windows-amd64.exe and $HOME/.wakatime/wakatime-cli.exe.

You can also try running this install script if you're not able to manually download and extract the zip.

@alanhamlett
Copy link
Member

Let's discuss further in #362.

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

2 participants