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

Jetbrains Wakatime not posting stats #240

Closed
david-kariuki opened this issue Dec 10, 2022 · 11 comments
Closed

Jetbrains Wakatime not posting stats #240

david-kariuki opened this issue Dec 10, 2022 · 11 comments

Comments

@david-kariuki
Copy link

Hi there, I am using Intellij Ultimate on Fedora Linux 37. This issue was also persistent on 36.
I have wakatime integration on my chrome too.
My problem is, the wakatime on my Intellij IDE does not post stats to my wakatime profile. I only see stats from my chrome browser. It has been this way for the last 2 months. On VSCode, the experience is much better, I see my stats on the dashboard, unlike Intellij.
Do you have such an issue on your tracker?

@alanhamlett
Copy link
Member

Haven't seen this before. Please look for WakaTime related logs in your idea.log file so we can figure out what's going wrong:

https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

@nuth-vireak

This comment was marked as off-topic.

@david-kariuki
Copy link
Author

How do I send/attach these logs privately?

@alanhamlett
Copy link
Member

@david-kariuki you can send the logs to support@wakatime.com

@nuth-vireak please create an issue on the github profile readme's repo since we don't maintain those.

@david-kariuki
Copy link
Author

david-kariuki commented Dec 15, 2022 via email

@alanhamlett
Copy link
Member

alanhamlett commented Dec 15, 2022

Got the logs. I'm seeing WakaTime - Command finished with return value: 102 which means there was a networking error when trying to sync with the api. Can you check your ~/.wakatime.log file for errors?

Your vscode is running on the same machine? It's strange that would work but not IntelliJ because they use the same wakatime-cli binary (~/.wakatime/wakatime-cli-linux-amd64) to sync with the api.

@david-kariuki
Copy link
Author

VS code works perfectly

@alanhamlett
Copy link
Member

Can you email your ~/.wakatime.log file?

@david-kariuki
Copy link
Author

Hi, @alanhamlett , I have mailed you the wakatime.log and .cfg files

@alanhamlett
Copy link
Member

alanhamlett commented Dec 19, 2022

I see the problem, you have the example (invalid) proxy defined in your ~/.wakatime.cfg file. You should delete all those example lines and only leave two lines in that cfg file:

[settings]
api_key = XXXX

Replacing XXXX with your real secret api key.

Normally you shouldn't need to edit ~/.wakatime.cfg manually unless you want to add advanced configs. Your IDE would create that cfg file the first time you install the wakatime plugin.

@david-kariuki
Copy link
Author

Thank you @alanhamlett
This worked for me. Great work.

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

3 participants