The server received the heartbeat, but the dashboard had never updated #874
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
-
|
Very strange. Can you please check if the heartbeats actually find their way to the database? Run the following query and see if there are any recent heartbeats: select id, time, created_at from heartbeat order by created_at desc limit 100;Also check the API endpoint and see if it returns any non-zero data: Moreover, please also check for enqueued heartbeats on your client: ~/.wakatime/wakatime-cli --offline-countWhich editor plugins do you use? |
Beta Was this translation helpful? Give feedback.
-
Yes, sort of. There are essentially two potential causes for "missing" IDs. Either the heartbeats were actually not inserted to to some error (i.e. the database transaction was rolled back) or they were exact duplicates (same timestamp, same file, etc.) of an already existing heartbeat. Even though I still don't have much of an idea what had caused your initial problem, I'll close this discussion for now, as things seem to be back to normal again. Perhaps there was some issue with the database connection at your hosting provider. Feel free to get back here if you're experiencing a similar issue again. Regarding #877: will investigate soon. |
Beta Was this translation helpful? Give feedback.

Yes, sort of. There are essentially two potential causes for "missing" IDs. Either the heartbeats were actually not inserted to to some error (i.e. the database transaction was rolled back) or they were exact duplicates (same timestamp, same file, etc.) of an already existing heartbeat.
Even though I still don't have much of an idea what had caused your initial problem, I'll close this discussion for now, as things seem to be back to normal again. Perhaps there was some issue with the database connection at your hosting provider. Feel free to get back here if you're experiencing a similar issue again.
Regarding #877…