home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.82k stars 30.51k forks source link

fritzbox - reauthorization not possible #68476

Closed hklages closed 2 years ago

hklages commented 2 years ago

The problem

After having changed the username and password of the fritzbox the integration did not ask for reauthorization - just a question mark in the integration on the integration dashboard.

See also documentation issue

What version of Home Assistant Core has the issue?

core-2022.3.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

fritzbox tools

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

fritzbox documentation fritzbox source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @mib1185, @flabbamann, mind taking a look at this issue as it has been labeled with an integration (fritzbox) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

mib1185 commented 2 years ago

Hi @hklages

usual you should get a notification, that an integrations needs reconfiguration. Could you please share a screenshot and further please enable debug logging, restart HA and provide the homeassistant.log To do so add the following to your configuration.yaml:

logger:
  default: info
  logs:
    homeassistant.components.fritzbox: debug
    pyfritzhome: debug

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.

hklages commented 2 years ago

... too late. I did delete the integration and added it again. That solves the issue.

Maybe the problem was, because I changed the network name, the name of the Fritzbox, the user id and the password. Afterwards I had also some issues in the Homematic and Rademacher integration. Now everything works and I don't want to touch it for some weeks.

mib1185 commented 2 years ago

ok, than I will close this issue now, since the issue was solved on your own.

Bjoernsen commented 2 years ago

Today, I updated to the latest HA version (2022.4). Unfortunately, this integrations ask me for reconfiguration. But it complains, that the provided credentials are not valid.

I also took a look at the Fritzbox (7590) system logs, but I cannot see any login attempt.

Logger: homeassistant.config_entries
Source: config_entries.py:349
First occurred: 6:05:23 PM (1 occurrences)
Last logged: 6:05:23 PM

Config entry 'FRITZ!Box 7590' for fritzbox integration could not authenticate: login for user="xxx" failed
2022-04-06 18:10:11 WARNING (MainThread) [homeassistant.config_entries] Config entry 'FRITZ!Box 7590' for fritzbox integration could not authenticate: login for user="xxx" failed
mib1185 commented 2 years ago

@Bjoernsen this is already under investigation in #69447