HADotNet.CommandCenter: "Too many redirects"
Description
Initial install. I can see the Docker container running, but trying to access from any browser (Firefox, Chrome, Safari) encounters redirect problems.
- Firefox (Mac): The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
- Chrome (Mac): This page isn’t working. 192.168.1.35 redirected you too many times.
- Safari (Mac): Can’t open the page. Too many redirects occurred trying to open 192.168.1.35:8095/admin/settings?setup=1
- Safari (iOS): Safari cannot open the page because too many redirects occurred.
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:
info: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Client factory is not initialized, redirecting user to settings area...
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 111
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (7 by maintainers)
Ok @qJake , i’ll open a new issue
Just tried it out and it works now! Thanks man
Sent from my iPhone