Skip to content

pushing 1 heartbeat(s) to queue after error: won't send heartbeat due to backoff without proxy #430

Open
@hidesec

Description

@hidesec

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions