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: HA-Fusion] Redirection to Home Assistant does not work if hostname is different from umbrel.local #2130

Open
henriquesebastiao opened this issue Jan 31, 2025 · 0 comments

Comments

@henriquesebastiao
Copy link

After installing HA-Fusion, when I start the application I am redirected to the Home Assistant integration via the following URL:

http://umbrel.local:8123/auth/authorize?response_type=code&redirect_uri=<token>

Initially it tries to access the service at the hostname umbrel.local, but there are cases where the hostname in the DNS pointing to the Umbrel IP address may be different. In my case, I have configured the hostname server.local in the DNS pointing to Umbrel.

$ cat /etc/hosts
127.0.0.1       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.16.0.210    umbrel.local
10.21.0.16      cb386be54a27

I believe that in some cases of Umbrel installation, this hostname somehow works automatically, but that was not the case for me. The only solution was to manually add a DNS record in my router with umbrel.local pointing to the Umbrel address, so HA-Fusion appears to work normally.

I believe this may be a problem for new, unsuspecting users.

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