Closed grantalewis closed 4 years ago
Hey there, looks like this is your first time submitting a bug or enhancement to HACC! Thanks for helping make HACC a better app! 🎉
Hi, same too many redirect error, but for me, the log show multiple errors:
info: HADotNet.CommandCenter.Middleware.HAClientInitialization[0] Attempting auto-initializaion of HACC via Supervisor interface... fail: HADotNet.CommandCenter.Middleware.HAClientInitialization[0] Unable to generate LLAT via Home Assistant WebSocket API. ERROR: {"id": 1, "type": "result", "success": false, "error": {"code": "unknown_error", "message": "Unknown error"}}
edit: HACC version 1.0.10
I am currently in the process of re-working the auth code for compatibility with the (new-ish) Supervisor. Please bear with me as I work through this.
Hi @grantalewis and @sr-as2, can you please try the latest prerelase (v1.0.12
) to see if this is resolved? Thanks.
I’m not going to be much help, I’m afraid. Was contemplating using an old iPad but found out that it’s under-powered. And as I am currently unemployed, I’ll have to save my pennies before I can afford an android tablet. Good luck!
I just downloaded the latest docker image, and sadly I'm still having the same issues. Let me know if you'd like a copy of the exact error I'm currently receiving
Yeah @flyingspin if you could paste your full log text that would be most helpful.
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
An unhandled exception has occurred while executing the request.
System.NullReferenceException: Object reference not set to an instance of an object.
at HADotNet.CommandCenter.Middleware.HAClientInitialization.InvokeAsync(HttpContext context) in /src/HADotNet.CommandCenter/Middleware/HAClientInitialization.cs:line 103
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.
@qJake let me know if there is anything else I can provide
Yep it's working :-) But i can't add tile (error 404) but i think it's under control ;)
What browser are you using @sr-as2, I've tried running the docker image on 3 different hosts, and haven't been able to connect on either of them, so wondering if its my browser.
It may also be the difference between a new set up versus a set up with a pre-existing access token. I will have to investigate further.
ied running the docker image on 3 different hosts, and haven't been able to connect on either of them
Last chrome version
@sr-as2 Can you update your container to latest (v1.0.26 or higher) and let me know if this is fixed? Thanks!
Just tried it out and it works now! Thanks man
Sent from my iPhone
On Apr 5, 2020, at 10:20 PM, Jake Burgy notifications@github.com wrote:
@sr-as2 Can you update your container to latest (v1.0.26 or higher) and let me know if this is fixed? Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Awesome! Glad to hear it.
latest (v1.0.26 or higher) and let
Same 404 error qJake when i add a tile.
Edit: I can only add these tiles: Navigation, Blan and Date tile
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1] An unhandled exception has occurred while executing the request. System.Exception: Unexpected response code 502 from Home Assistant API endpoint /api/states. at HADotNet.Core.BaseClient.Get[T](String path) at HADotNet.Core.Clients.EntityClient.GetEntities() at HADotNet.CommandCenter.Controllers.StateTileController.Add() in /src/HADotNet.CommandCenter/Controllers/StateTileController.cs:line 26 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
@sr-as2 Can you reply with your full environment info (hardware, Docker or Supervisor, versions...), and what is listed on your Settings page (minus your LLAT token - you can mask that out)?
A screenshot of the /admin/technical
page might be helpful as well - feel free to mask out any sensitive info you don't want to share.
Ok @qJake , i'll open a new issue
Description
Initial install. I can see the Docker container running, but trying to access from any browser (Firefox, Chrome, Safari) encounters redirect problems.
Environment
Latest
I run DuckDNS and so use an IP address rather than my domain name. Using localhost isn't an option.
Macmini reimaged with Ubuntu64 running Docker
Steps to Reproduce
(see above)
Screenshots
Screenshots not available, but I see this in the CLI: