vscode-wakatime: pushing 1 heartbeat(s) to queue after error: won't send heartbeat due to backoff without proxy

Wakatime is unable to track my coding time. Here is the error message shown in the log:

{"level":"debug","now":"2025-05-23T10:58:40+07:00","caller":"heartbeat/sanitize.go:34","func":"github.com/wakatime/wakatime-cli/cmd/heartbeat.initHandleOptions.WithSanitization.func11.1","message":"execute heartbeat sanitization","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890} {"level":"debug","now":"2025-05-23T10:58:40+07:00","caller":"remote/remote.go:110","func":"github.com/wakatime/wakatime-cli/cmd/heartbeat.initHandleOptions.WithCleanup.func12.1","message":"execute remote cleanup","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890} {"level":"debug","now":"2025-05-23T10:58:40+07:00","caller":"offline/offline.go:63","func":"github.com/wakatime/wakatime-cli/cmd/heartbeat.SendHeartbeats.WithQueue.func2.1","message":"execute offline queue with file /home/hans/.wakatime/offline_heartbeats.bdb","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890} {"level":"debug","now":"2025-05-23T10:58:40+07:00","caller":"backoff/backoff.go:45","func":"github.com/wakatime/wakatime-cli/cmd/heartbeat.SendHeartbeats.WithBackoff.func3.1","message":"execute heartbeat backoff algorithm","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890} {"level":"debug","now":"2025-05-23T10:58:40+07:00","caller":"backoff/backoff.go:106","func":"github.com/wakatime/wakatime-cli/pkg/backoff.shouldBackoff","message":"exponential backoff tried 6 times since 2025-05-23T10:57:46+07:00, will retry again after 2025-05-23T11:14:40+07:00","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890} {"level":"debug","now":"2025-05-23T10:58:40+07:00","caller":"offline/offline.go:73","func":"github.com/wakatime/wakatime-cli/cmd/heartbeat.SendHeartbeats.WithQueue.func2.1","message":"pushing 1 heartbeat(s) to queue after error: won't send heartbeat due to backoff without proxy","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890} {"level":"error","now":"2025-05-23T10:58:40+07:00","caller":"cmd/run.go:328","func":"github.com/wakatime/wakatime-cli/cmd.runCmd","message":"failed to run command: sending heartbeat(s) failed: won't send heartbeat due to backoff without proxy","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890} {"level":"debug","now":"2025-05-23T10:58:40+07:00","caller":"cmd/run.go:346","func":"github.com/wakatime/wakatime-cli/cmd.runCmd","message":"command failed with exit code 112","version":"v1.115.3","os/arch":"linux/amd64","file":"/home/hans/.wakatime/wakatime.log","time":1747972714.2192502,"plugin":"vscode/1.100.2 vscode-wakatime/25.0.3","lineno":17890}

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Can you fix mine @alanhamlett? I’ve had a really good past few weeks of coding after a long period of lack of motivation. I don’t work, am disabled, and I barely sleep. so I have all the time in the world to code.

I already manually lifted the leaderboard ban from your account earlier, but the leaderboard only updates a few times per day.

Also there’s https://crackboard.dev which updates hourly and is powered by WakaTime.

@hidesec, i’ve also removed the ban from your account so your code stats should sync up for the past few days. It only syncs when you’re coding, since the plugin only runs when there’s activity in your IDE. However, for your account since it was fully disabled we should look into what triggered that. On our end it was triggered from too many hours per day in the same file, but we have many similar checks so it could be another reason in the future unless we figure out the root cause.