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 won't load #61031

Closed
jscherry opened this issue Dec 5, 2021 · 1 comment
Closed

WebRTC won't load #61031

jscherry opened this issue Dec 5, 2021 · 1 comment

Comments

@jscherry
Copy link

jscherry commented Dec 5, 2021

The problem

WebRTC worked with all previous versions oh HA. Now it just gives a load error.

What version of Home Assistant Core has the issue?

core-2021.12.0b0

What was the last working version of Home Assistant Core?

2021.11 and all previous versions

What type of installation are you running?

Home Assistant OS

Integration causing the issue

WebRTC

Link to integration documentation on our website

https://github.com/AlexxIT/WebRTC

Example YAML snippet

No response

Anything in the logs that might be useful for us?

This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/webrtc/utils.py:74
Integration: WebRTC Camera (documentation, issues)
First occurred: 7:19:16 PM (1 occurrences)
Last logged: 7:19:16 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'

Additional information

Sorry I know this is a custom integration. I've also created an issue on the developers github. If this post isn't allowed please remove it. Thanks

@Mincka
Copy link

Mincka commented Dec 5, 2021

Not related to HA. It should be closed.
The issue is handled here and has an available fix: AlexxIT/WebRTC#175

@jscherry jscherry closed this as completed Dec 5, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants