-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
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
Error handling request - config_entry.runtime_data #119159
Comments
Hey there @Kane610, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) unifi documentation |
I have the same issue Logger: aiohttp.server Error handling request |
I've got the same issue since the upgrade to 2024.6. Error messages in the debug files are the same. |
Same issue. Just updated HomeAssistant to 2024.6.2 und Unifi Network to 8.2.93 |
I can also confirm I have the same issue. It started when I turned on 2FA (which is anyway going to be enforced from next month). I created a local user, but even for that user I keep getting the above error. |
Same issue form me with local user |
Still broken in 2024.6.3 |
I have a workaround, but I don't know if there are any side effects. You have to adjust the following file:
Restart HomeAssistent and the re-authentication should work again. |
Issue introduced by #117457 |
For me, removing the integration and reconfiguring from scratch solved the issue. I've lost all my entities, but at least I can use it again |
This worked for me as well! |
Thanks for providing a fix, dev has been fixed as I rewrote a bunch of tests due to other faulty dependencies in test infrastructure to runtime_data but I didn't consider that things might be faulty on active systems as well |
This has been fixed |
Great, thanks! Will it be reflected in next months release? |
I accidentally fixed it reworking tests and that fix will be out with 2024.7. The work around fix suggested in this issue should be available with latest point release. |
Just upgraded to 2024.7.0 Integration broke again, showing same symptoms - Resolved by removing and re-adding integration Log Logger: aiohttp.server Error handling request |
So how do I replicate this? |
My steps were:- Upgrade to Core 2024.7.0 Resolved issue by removing unifi Application integration and re-adding |
Seeing the same "AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'" error. I ran into the issue sometime after upgrading to 2024.7.1 when I changed the password for my homeassistant user in unifi and have been unable to reauthenticate. I know the password is correct as it gives an "Invalid authentication" error when I try an incorrect password. |
I will try to have a fix out for next release during this week |
New fix merged, lets hope it resolves it |
The problem
I can no longer re-authenticate myself. I always get the error “Unknown error occurred” ( even though the login worked according to the logs).
What version of Home Assistant Core has the issue?
core-2024.6.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Unifi
Link to integration documentation on our website
No response
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: