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

Fails to load in HA 2021.12 #185

Closed
cdn4lf opened this issue Dec 11, 2021 · 3 comments
Closed

Fails to load in HA 2021.12 #185

cdn4lf opened this issue Dec 11, 2021 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@cdn4lf
Copy link

cdn4lf commented Dec 11, 2021

Fails to start after upgrade to 2021.12.0


Logger: homeassistant.setup
Source: custom_components/webrtc/utils.py:74
Integration: webrtc (documentation, issues)
First occurred: 3:39:47 PM (1 occurrences)
Last logged: 3:39:47 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'](route)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 186, in __getitem__
    return self._state[key]
KeyError: 'allow_cors'
@Arquiteto
Copy link

Check issue #182 for a solution.

@cdn4lf
Copy link
Author

cdn4lf commented Dec 11, 2021

Thanks. Switching to master branch resolved the issue

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

3 participants