jetbrains-wakatime icon indicating copy to clipboard operation
jetbrains-wakatime copied to clipboard

Wakatime stop recording my activities in GoLand 2025.1.1

Open andrew-ares opened this issue 6 months ago • 3 comments

My environment: macOS aarch64 15.4.1, wakatime-cli v1.115.3

The most recent error from ~/.wakatime/wakatime.log is:

{"level":"error","now":"2025-05-29T09:43:23+08:00","caller":"cmd/run.go:328","func":"github.com/wakatime/wakatime-cli/cmd.runCmd","message":"failed to run command: sending heartbeat(s) failed: 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","version":"v1.115.3","os/arch":"darwin/arm64","file":"/Users/ares/Developer/Work/edass-backend/internal/scheduler/monitor/cache.go","time":1748482984.358,"plugin":"goland/2025.1.1 goland-wakatime/15.0.3","lineno":127}

WakaTime reports a connection issue when using a proxy, but the connection test to https://api.wakatime.com passes successfully:

https://github.com/user-attachments/assets/22a23e5e-2742-49b9-bb0e-a9ca295a0451

And no matter how long I code in GoLand, the WakaTime status bar widget always shows “0 secs”.

In case you need the full log:

wakatime.log

idea.log

andrew-ares avatar May 29 '25 01:05 andrew-ares

The proxy url https://127.0.0.1:7890 is passed to wakatime-cli so there must be some difference in how GoLand connects via that proxy to how wakatime-cli is connecting via that proxy.

alanhamlett avatar May 29 '25 05:05 alanhamlett

What proxy software are you using? We can try replicating it using that same software.

alanhamlett avatar May 29 '25 05:05 alanhamlett

Thanks for the quick reply! I'm using this proxy software: https://github.com/2dust/v2rayN

andrew-ares avatar May 29 '25 14:05 andrew-ares