Skip to content

[Bug: HA-Fusion] Redirection to Home Assistant does not work if hostname is different from umbrel.local #2130

Open
@henriquesebastiao

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions