Skip to content

vscode-desktop extension sometime send heartbeat even computer is in sleep mode #15304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iQQBot opened this issue Dec 12, 2022 · 8 comments
Closed
Assignees

Comments

@iQQBot
Copy link
Contributor

iQQBot commented Dec 12, 2022

Bug description

vscode-desktop extension sometime send heartbeat even computer is in sleep mode

for some reason, vscode remote-ssh will try to reconnect when the computer is in sleep mode ( it looks like a bug)

But, I still can see the log, gitpod-desktop extension also try send heartbeat when the computer is in sleep mode, although these logs show a timeout, I still suspected that the server has successfully processed

image

Steps to reproduce

no sure how to reproduce it, it happen serval times, special from @easyCZ

Workspace affected

No response

Expected behavior

If user don't operating vscode. we don't send heartbeat.

Example repository

No response

Anything else?

No response

@iQQBot iQQBot added type: bug Something isn't working team: IDE labels Dec 12, 2022
@akosyakov akosyakov self-assigned this Dec 19, 2022
@akosyakov akosyakov moved this to Scheduled in 🚀 IDE Team Dec 19, 2022
@loujaybee
Copy link
Member

Internal link to product analytics, which might provide some clues (CC @laushinka)

@akosyakov akosyakov assigned mustard-mh and jeanp413 and unassigned akosyakov and iQQBot Jan 30, 2023
@akosyakov
Copy link
Member

We discussed that we need more logging. One idea is to log a name of VS Code event which triggered last failed attempt to send a heartbeat.

@jeanp413
Copy link
Member

jeanp413 commented Feb 1, 2023

@mustard-mh added more logging gitpod-io/gitpod-vscode-desktop@4d51ad6 and released a new version for both stable and preview

@jeanp413
Copy link
Member

jeanp413 commented Feb 6, 2023

@easyCZ please report again when it happens with the corresponding logs 🙏

@jeanp413 jeanp413 removed this from 🚀 IDE Team Feb 6, 2023
@easyCZ
Copy link
Member

easyCZ commented Feb 6, 2023

So far nothing, will keep an eye out.

@jankeromnes
Copy link
Contributor

Many thanks for working on this issue. 🙏

Quick FYI, for anyone affected by this bug, here is a workaround that you can use until we can release a fix:

  • Once you no longer need your workspace to be running, you can stop it manually, e.g. by running gp stop in the command line. This will ensure that your workspace does indeed get stopped and no longer consumes any credits.

@jeanp413
Copy link
Member

jeanp413 commented Feb 18, 2023

We released version 0.0.75 of the Gitpod extension, please update and let us know if you see this again 🙏

@jeanp413
Copy link
Member

jeanp413 commented May 2, 2023

Closing this for now as we added more telemetry to track this down if it happens again

@jeanp413 jeanp413 closed this as completed May 2, 2023
@github-project-automation github-project-automation bot moved this from In Validation to Done in 🚀 IDE Team May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

7 participants