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

Bug: not connecting to mqtt #390

Open
penguinpatrol opened this issue Jan 18, 2024 · 0 comments
Open

Bug: not connecting to mqtt #390

penguinpatrol opened this issue Jan 18, 2024 · 0 comments

Comments

@penguinpatrol
Copy link

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()

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