Closed radicalmachine closed 2 years ago
Same issue here.
Did a fresh install and have the same problem/
Thanks for reporting guys! This can happen when the background service is not running yet. The "Start" button in the UI never worked but I forgot to take that out (or fix it). As a workaround, make sure the background service (hass-worksation-service.exe) is running before trying to enable autostart.
I discovered that Avast was actually picking up the background service as a threat and quarantining the .exe. I think this can commonly happen for users who have 'silent' mode on (primarily to prevent adverts) but also prevents dialogs when a file has been quarantined. After adding an exception, things are now working more normally
I made the error message more clear in the application but there's not a lot I can do about antivirus software being too eager.
UI crashes when enabling Auto Start of background service. The UI will no longer start until the app is uninstalled, the host rebooted, and re-installed. However attempting to re-enable the auto start causes the UI to crash. The cycle repeats.