Skip to content

Invalid authentication on remote system #367

@rmarquet

Description

@rmarquet

After several years of my remote HA working fine, I realized I had to add an exclusion, but the UI wasn't working (it would show the screen, but there were no boxes to allow me to select things to include or exclude), so I deleted the instance and recreated it on the "local" system, which also meant generating a new access token on the remote system.

Unfortunately I kept getting the following error on the remote system, while nothing from the remote system was updating on the local system:

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:136
integration: HTTP (documentation, issues)
First occurred: November 20, 2025 at 1:20:13 PM (6525 occurrences)
Last logged: 7:31:54 AM

Login attempt or request with invalid authentication from (). Requested URL: '/api/remote_homeassistant/discovery'. (HomeAssistant/2025.11.2 aiohttp/3.13.2 Python/3.13)

The solution was to delete the instance on the local system again and set it up manually in the configuation.yaml. There appears to be some issue with either escaping the token correctly in the UI when it collects it, or maybe the tokens got longer and the UI doesn't handle that, or something like that. So if you're having that issue, try setting it up in the configuration.yaml.

Both systems are running HA 2025.11.12. Remote HA is v4.5.

Metadata

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