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

Does not start any more with core-2021.12.0b0 #178

Closed
eikowagenknecht opened this issue Dec 5, 2021 · 2 comments
Closed

Does not start any more with core-2021.12.0b0 #178

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

Comments

@eikowagenknecht
Copy link

Using 2.1.1 after Upgrading to core-2021.12.0b0 I get an error message on startup and the integration doesn't work (no video shown):

2021-12-05 14:09:33 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'](route)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 186, in __getitem__
return self._state[key]
KeyError: 'allow_cors'
@MrKittenK
Copy link

MrKittenK commented Dec 6, 2021

Can confirm this happens to me also after the latest update

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'](route)
  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 6, 2021
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 6, 2021

Duplicate #156

@AlexxIT AlexxIT closed this as completed Dec 6, 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

3 participants