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

stability issue #50

Open
kingpainter opened this issue Jul 16, 2020 · 3 comments
Open

stability issue #50

kingpainter opened this issue Jul 16, 2020 · 3 comments

Comments

@kingpainter
Copy link

Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 9:29:39 PM (44 occurrences)
Last logged: 9:29:44 PM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/application.py, line 41: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)

@Nunak
Copy link

Nunak commented Jul 22, 2020

I have same issue :(
2020-07-22 15:16:37 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/application.py, line 41: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)

@AdamOttvar
Copy link

Yes same here:

    Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/upnp.py, line 23: response = requests.post("http://{host}:9197/upnp/control/{protocole}1".format(host=self._host, protocole=protocole), data=body, headers=headers, timeout=0.2)
    Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/application.py, line 42: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)

This might help in finding a fix
https://developers.home-assistant.io/docs/asyncio_working_with_async/#calling-sync-functions-from-async

@jp-gorman
Copy link

Same here on a K7000 ctl_qled setup

2021-01-08 11:33:05 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/application.py, line 41: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants