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

Don't try to auto update if the data service can't be stopped #614

Open
dovholuknf opened this issue Oct 24, 2023 · 0 comments
Open

Don't try to auto update if the data service can't be stopped #614

dovholuknf opened this issue Oct 24, 2023 · 0 comments

Comments

@dovholuknf
Copy link
Member

Right now, on automatic update, if this error occurs:

[2023-10-24T08:24:11.398Z] ERROR    ZitiUpdateService.UpdateService    Timout while trying to stop service!    System.InvalidOperationException: Cannot stop ziti service on computer '.'. ---> System.ComponentModel.Win32Exception: The service has not been started
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.Stop()
   at ZitiUpdateService.UpdateService.StopZiti()

The application will continuously try to update but never succeed because the data service is hung somehow. The user will need to restart Windows, or terminate the ziti-edge-tunnel service before updating can continue. This should be logged and probably surfaced as an error/message to the user to reboot/take action.

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

1 participant