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

Error during setup of component webrtc after home assitant 2021.12.0 update. #197

Closed
jmlc11 opened this issue Dec 12, 2021 · 5 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@jmlc11
Copy link

jmlc11 commented Dec 12, 2021

This is the error in home assistant logs:
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'

@aaamoeder
Copy link

same for me.. 2021.12 broke it..

@liquidbear99
Copy link

Same for me

@mikedrawback
Copy link

same here

@nkm8
Copy link

nkm8 commented Dec 13, 2021

There is already a fix for this error on the master branch that hasn't been released yet. I upgraded and everything is working normally.

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

AlexxIT commented Dec 13, 2021

#156

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

6 participants