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 after Update to Home Assistant 2021.12.0b0 / Home Assistant OS 7.0 #175

Closed
salopette opened this issue Dec 4, 2021 · 4 comments · Fixed by #177
Closed

Error after Update to Home Assistant 2021.12.0b0 / Home Assistant OS 7.0 #175

salopette opened this issue Dec 4, 2021 · 4 comments · Fixed by #177
Labels
duplicate This issue or pull request already exists

Comments

@salopette
Copy link

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

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'

@miit86
Copy link

miit86 commented Dec 4, 2021

Same Problem Here

@jscherry
Copy link

jscherry commented Dec 5, 2021

Same problem. Posted logs under another issue with no response to either? This has been a game changer for me, awesome integration. I hope this can be fixed?

Mincka added a commit to Mincka/WebRTC that referenced this issue Dec 5, 2021
@Mincka
Copy link
Contributor

Mincka commented Dec 5, 2021

I proposed a PR to fix this. In the meantime, you can manually edit your config/custom_components/webrtc/utils.py like this
https://github.com/AlexxIT/WebRTC/pull/177/files#diff-268266fb86d71bd71ed88a54850bd9ff45a46f014acb42741ed28173a817cb8eR74

@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

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

Successfully merging a pull request may close this issue.

5 participants