Skip to content
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

Unable to load the integration in the last Home Assistant Version #202

Closed
MiAutomations opened this issue Dec 13, 2021 · 4 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@MiAutomations
Copy link

Hello

After the update core-2021.12.1 I'm unable to load the this integration

This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/webrtc/utils.py:74
Integration: webrtc (documentation, issues)
First occurred: 4:15:57 PM (1 occurrences)
Last logged: 4:15:57 PM

Error during setup of component webrtc
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 229, in _async_setup_component
result = await task
File "/config/custom_components/webrtc/init.py", line 75, in async_setup
utils.register_static_path(hass.http.app, url_path, path)
File "/config/custom_components/webrtc/utils.py", line 74, in register_static_path
app'allow_cors'
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 186, in getitem
return self._state[key]
KeyError: 'allow_cors'

Can you please check ?

Thank you

@alonbendavid
Copy link

I have the same issue since the update of core-2021-12-*
looks like this part of the code is for use with Chromcast, so I commented the line out (custom_components/webrtc/utils.py:74) and it's working.
Will remove and update once a patch will be provided.

@benek984
Copy link

Hi, I have the same issue after upgrading to core-2021-12-x

@htmltiger
Copy link

HACS > Integrations > WebRTC ... > Redownload > select version > master

@AlexxIT AlexxIT added the duplicate This issue or pull request already exists label Dec 13, 2021
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 13, 2021

#156

@AlexxIT AlexxIT closed this as completed Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants