core: Kodi integration broken since 2021.1.3
The problem
Kodi integration stopped working since version 2021.1.3. The state is always shown as “off”. At the startup HA hangs a few minutes on setup of Kodi integration. If you remove and try to add the integration via the UI again there will be the message “Unknown error occurred” after about 30 seconds. If I switch the docker container back to 2021.1.2 the integration immediately is working again. The issue persists in 2021.1.4.
Environment
- Home Assistant Core release with the issue: 2021.1.3
- Last working Home Assistant Core release (if known): 2021.1.2
- Operating environment (OS/Container/Supervised/Core): Docker
- Integration causing this issue: Kodi
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/kodi/
Problem-relevant configuration.yaml
Integration is set up via UI so no yaml
Traceback/Error logs
WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: kodi
WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward
Additional information
I tried reverting the the change to the integration introduced in 2fb3be50ab0b806cfc099bc3671ad6c8ee4195e4 but that didn’t fix the issue. So my wild guess would be a relation to the XSS hardenings introduced in 2021.1.3.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (16 by maintainers)
@OnFreund Ok, looks like it’s raising
asyncio.exceptions.CancelledError
. I opened an issue in OnFreund/PyKodi:https://github.com/OnFreund/PyKodi/issues/7