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

WebRTC not working after anymore after upgrade to HA 2021.12.0 #188

Closed
mkleijn opened this issue Dec 12, 2021 · 5 comments
Closed

WebRTC not working after anymore after upgrade to HA 2021.12.0 #188

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

Comments

@mkleijn
Copy link

mkleijn commented Dec 12, 2021

Hi,

After upgrading HA to latest version (2021.12.0) I get this error in the logs:

2021-12-12 08:00:52 ERROR (MainThread) [homeassistant.setup] 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'

@proinc-bayles
Copy link

#182

@LordNex
Copy link

LordNex commented Dec 12, 2021

Getting the same errors

`This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/webrtc/utils.py:74
Integration: WebRTC Camera (documentation, issues)
First occurred: 1:17:47 AM (1 occurrences)
Last logged: 1:17:47 AM

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'
`

@LordNex
Copy link

LordNex commented Dec 12, 2021

I tried redownloading from HACS with no success. tried to manually download and replace utils.py and restart and that failed completely.

@jonasschwenk
Copy link

jonasschwenk commented Dec 12, 2021

Same here. After update to ha Core 2021.12.0 webrtc isn't working anymore.

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant.setup
Source: custom_components/webrtc/utils.py:74
Integration: webrtc (documentation, issues)
First occurred: 08:22:44 (1 occurrences)
Last logged: 08:22:44

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'

@AlexxIT AlexxIT added the duplicate This issue or pull request already exists label Dec 12, 2021
@AlexxIT AlexxIT closed this as completed Dec 12, 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

5 participants