LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.47k stars 65 forks source link

Bug: not connecting to mqtt #390

Open penguinpatrol opened 5 months ago

penguinpatrol commented 5 months ago

i have tried to install hass agent for the first time and it is refusing to connect with mqtt the most notible things i could find in the log at a glance are

[MQTT] Error while connecting: Not authorized, check your credentials.

and

An unexpected error occurred when attempting to start the server System.Net.HttpListenerException (5): Access is denied. at System.Net.HttpListener.AddPrefixCore(String registeredPrefix) at System.Net.HttpListener.AddAllPrefixes() at System.Net.HttpListener.Start() at Grapevine.RestServer.Start() at Grapevine.MiddlewareExtensions.Run(IRestServer server) at HASS.Agent.API.ApiManager.Initialize() 2024-01-18 18:27:46.154 +00:00 [FTL] [LOCALAPI] Error trying to bind the API to port 5115: Cannot access a disposed object. Object name: 'System.Net.HttpListener'. System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Net.HttpListener'. at System.Net.HttpListener.CheckDisposed() at System.Net.HttpListener.Stop() at Grapevine.RestServer.Start() at Grapevine.MiddlewareExtensions.Run(IRestServer server) at HASS.Agent.API.ApiManager.Initialize()