Closed ViiictorXD closed 2 years ago
Possible duplicate of #223.
Tools -> WakaTime Settings
menu inside your IntelliJ?idea.log
file?~/.wakatime.log
file?{"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": proxyconnect tcp: EOF","now":"2022-06-21T10:15:48+08:00","version":"v1.49.0"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": proxyconnect tcp: EOF","now":"2022-06-21T10:21:48+08:00","version":"v1.49.0"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later because currently rate limited: won't send heartbeat due to backoff","now":"2022-06-21T10:22:48+08:00","version":"v1.49.0"}
@besscroft that looks like a proxy error. Did you mean to use https://localhost:7890
instead of http
?
Also check out this recent comment.
@alanhamlett Thank you for your reply! I cleared proxy settings, the common proxy configuration I use in idea and vscode, vacode works normally, idea does not work, I think there may be other reasons.
IntelliJ can detect a proxy from the IntelliJ settings and also from ~/.wakatime.cfg
, while vscode only uses ~/.wakatime.cfg
. Maybe your IntelliJ still has a proxy configured. Try excluding *wakatime.com
from your IntelliJ proxy settings?
Thank you for your reply! I double checked and cleared the proxy.
After clearing the proxy it works, or still not working?
Thank you for your reply, it's working fine now.
this solved my problem
I installed the WakaTime plugin in IntelliJ, when I restart the IDE, it doesn't ask me to put the API key, I already tried to create the file manually putting the API key and it still didn't work.