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 stopped working after update 12/12/2021 #193

Closed
samios88 opened this issue Dec 12, 2021 · 9 comments
Closed

Webrtc stopped working after update 12/12/2021 #193

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

Comments

@samios88
Copy link

It worked perfectly with previous version but since new update it's broken I tried to set it up again but no luck here is log error
This error originated from a custom integration.

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

@AlexandreUSA
Copy link

Same here with the same log entry.

@idoaflalo
Copy link
Contributor

idoaflalo commented Dec 12, 2021

It worked perfectly with previous version but since new update it's broken I tried to set it up again but no luck here is log error This error originated from a custom integration.

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

For now, you can comment out line 75 and 85 in the init.py file of this custom component (by adding # to the start of the line) and restart home assistant to solve the problem (Chromecast will stop working with webrtc).

@shlomosv1
Copy link

yap, same with me "Webrtc stopped working after update 12/12/2021"

@Farmer-Eds-Shed
Copy link

Reinstalled from Hacs using Master as version and is working for me now

@idoaflalo
Copy link
Contributor

#179 Duplicate

@phptanker
Copy link

Reinstalled from Hacs using Master as version and is working for me now

This worked for me aswell.

@tbone004
Copy link

It worked perfectly with previous version but since new update it's broken I tried to set it up again but no luck here is log error This error originated from a custom integration.
Logger: homeassistant.setup Source: custom_components/webrtc/utils.py:74 Integration: webrtc (documentation, issues) First occurred: 4:11:07 PM (1 occurrences) Last logged: 4:11:07 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' File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 186, in getitem return self._state[key] KeyError: 'allow_cors'

For now, you can comment out line 75 and 85 in the init.py file of this custom component (by adding # to the start of the line) and restart home assistant to solve the problem (Chromecast will stop working with webrtc).

Thanks, that worked for me.

@shlomosv1
Copy link

shlomosv1 commented Dec 12, 2021

Reinstalled from Hacs using Master as version and is working for me now

Reinstall did not work for me ...)-:

@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

8 participants