andig / homebridge-fritz

Homebridge platform for Fritz!Box router and supported DECT devices
MIT License
74 stars 21 forks source link

Fritz Update to 7.20 breaks homebridge-fritz functionality #140

Closed glowfishDE closed 4 years ago

glowfishDE commented 4 years ago

After upgrading the FritzBox to FritzOS 7.20 the following errors occur in my homebridge log:

_**[8/3/2020,` 11:22:50 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:50 AM] [FritzBox 7590] < getSwitchPower failed Unhandled rejection getSwitchPower failed Unhandled rejection getSwitchPower failed [8/3/2020, 11:22:50 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:50 AM] [FritzBox 7590] < getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed [8/3/2020, 11:22:50 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:50 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:50 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:50 AM] [FritzBox 7590] < getSwitchState failed Unhandled rejection getSwitchState failed Unhandled rejection getSwitchState failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] < getSwitchPower failed Unhandled rejection getSwitchPower failed Unhandled rejection getSwitchPower failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] < getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] < getSwitchState failed Unhandled rejection getSwitchState failed Unhandled rejection getSwitchState failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] < getSwitchPower failed Unhandled rejection getSwitchPower failed Unhandled rejection getSwitchPower failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:51 AM] [FritzBox 7590] < getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] < getSwitchState failed Unhandled rejection getSwitchState failed Unhandled rejection getSwitchState failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] < getSwitchPower failed Unhandled rejection getSwitchPower failed Unhandled rejection getSwitchPower failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] < getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:52 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] < getSwitchState failed Unhandled rejection getSwitchState failed Unhandled rejection getSwitchState failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] < getSwitchPower failed Unhandled rejection getSwitchPower failed Unhandled rejection getSwitchPower failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] < getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed Unhandled rejection getSwitchEnergy failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:53 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:54 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:55 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:56 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:57 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:58 AM] [FritzBox 7590] < getTemperature failed Unhandled rejection getTemperature failed Unhandled rejection getTemperature failed [8/3/2020, 11:22:59 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:59 AM] [FritzBox 7590] < getTempTarget failed Unhandled rejection getTempTarget failed Unhandled rejection getTempTarget failed [8/3/2020, 11:22:59 AM] [FritzBox 7590] FRITZ!Box session renewal failed [8/3/2020, 11:22:59 AM] [FritzBox 7590] < getBatteryCharge failed Unhandled rejection getBatteryCharge failed Unhandled rejection getBatteryCharge failed**_

Anything i can do ? or does @andig have to release a fix ?

Thanks

glowfishDE commented 4 years ago

Issue resolved - had to restart the FB again (a second time after the OS Updates reboot) and also restarted HB. Then i got the error saying "FRITZ!Box session renewal failed - Wrong user credentials?"

I looked into my config.json and it always worked with my username and password. However i found out, that the fritzbox does not want my username with the new OS anymore. It is expecting the username root now.

So replace your username with "root" and it works.