Skip to content
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

If I update VSCODE CLI through VSCODE windows, VSCODE stops working #157

Open
mehrdadfeller opened this issue Aug 11, 2024 · 3 comments
Open

Comments

@mehrdadfeller
Copy link
Collaborator

If I update VScode CLI remotely (based on the prompt inside VScode environment), tunnel does not reconnect.

Solution:

It seems like Uninstalling and Installing VScode service fixes the issue. Perhaps we need to somehow force the uninstall/install behavior after update?

Screenshot 2024-08-10 at 10 21 39 PM
@sassanh
Copy link
Collaborator

sassanh commented Aug 11, 2024

@mehrdadfeller Have you checked if stopping and then starting the service helps? It might be even that the service is stopped after the remote update and just needs to be started.

@mehrdadfeller
Copy link
Collaborator Author

@sassanh On the GUI we only have login and logout option as well as install/uninstall service. we don't have start/stop options. I did not try doing that via the terminal though...If that happens again, I will make sure to try it.

The main issue is that if this happens when user does not have physical access to the device or can't ssh to it, the user may not be able to reconnect. That's why I was suggesting an automatic recovery.

@sassanh
Copy link
Collaborator

sassanh commented Aug 11, 2024

@mehrdadfeller Automatic recovery is a good idea.

On the GUI we only have login and logout option as well as install/uninstall service. we don't have start/stop options

You're right, we don't have start/stop menu items!

Let's find out if the service becomes stopped after update. The thing is when it happens remotely, our app has no idea when it begins/ends its update, unless we periodically check it, say every minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants