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

Detected I/O inside the event loop #43

Open
Sjeff opened this issue Apr 30, 2020 · 4 comments
Open

Detected I/O inside the event loop #43

Sjeff opened this issue Apr 30, 2020 · 4 comments

Comments

@Sjeff
Copy link

Sjeff commented Apr 30, 2020

Home Assistant 0.109 detecteds blocking I/O in the event loop.

Below the error i receive from this custom_component.

Log Details (WARNING)
Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 7:53:31 AM (70 occurrences)
Last logged: 8:00:28 AM

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 41: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)

Version of Home Assistant: 0.109.0
Hardware: Intel NUC
OS: Ubuntu with Docker
TV: QE55Q7FAM

@folrewef
Copy link

folrewef commented May 2, 2020

I also have this error. It seems to have serious consequences causing me to loose or slow down access to Home Assistant no matter which means of access I use (NabuCasa/local access/samba).

@groenmarsmannetje
Copy link

I also have this issue. The warnings floods the log file. Please repair as soon as possible.

@ashish1607
Copy link

Its still there.

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)

with HA 0.111.4

@straccio
Copy link

PR #55 solve this issue.
The "Detect I/O inside the event loop" slows down HA making it less responsive.

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

5 participants