wakatime / jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
https://wakatime.com/intellij-idea
BSD 3-Clause "New" or "Revised" License
1.12k stars 163 forks source link

WakaTime is stuck on inititialized and doesn't display time #208

Closed pavloko closed 1 year ago

pavloko commented 2 years ago

WakaTime plugin for PyCharm with version 13.1.14 doesn't display logged time until you click on it.

Screenshot 2022-04-14 at 14 51 24

This hasn't happened in the previous version.

moonD4rk commented 2 years ago

Some Problem, here's my Goland info

GoLand 2022.1
Build #GO-221.5080.224, built on April 14, 2022
Licensed to HackBrowserData / moonD4rk
Subscription is active until October 11, 2022.
Runtime version: 11.0.14.1+1-b2043.25 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Registry:
    suggest.all.run.configurations.from.context=true
    ide.completion.variant.limit=500
    ide.balloon.shadow.size=0

Non-Bundled Plugins:
    ……
    com.wakatime.intellij.plugin (13.1.14)

I already reinstalled wakatime plugin and restart Goland, always show initialized.

moonD4rk commented 2 years ago

Hi, I found it's network problem for me, I could not find api.wakatime.com IP with default DNS server. try resolve it with add this line in /etc/hosts

# /etc/hosts
143.244.210.202 api.wakatime.com
alanhamlett commented 2 years ago

@pavloko is yours not updating also networking related?

pavloko commented 2 years ago

I'm not sure what @moonD4rk means he couldn't find the IP. If I ping api.wakatime.com from the console, I can see 143.244.210.202 IP resolved in the response.

alanhamlett commented 2 years ago

After turning on debug mode (Tools -> WakaTime Settings) and restarting your IDE, do you see any WakaTime related logs in your idea.log file?

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

pavloko commented 2 years ago

Yes, I can see logs like WakaTime - Executing CLI:.....

I can't understand what's happening, but now the time indicator is missing completely:

Screenshot 2022-04-21 at 18 09 32

alanhamlett commented 2 years ago

Would you be able to email your idea.log file to support@wakatime.com? I want to check the plugin init logs and the status bar API response.

YOLOabrcdbr commented 1 year ago

Hi, I found it's network problem for me, I could not find api.wakatime.com IP with default DNS server. try resolve it with add this line in /etc/hosts

# /etc/hosts
143.244.210.202 api.wakatime.com

It totally worked!

pavloko commented 1 year ago

I apologize for the late response, but the problem just went away for me after reinstalling the plugin a few times.