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 blocking call to open inside the event loop - MQTT #118405

Closed
Anto79-ops opened this issue May 29, 2024 · 2 comments · Fixed by #118412
Closed

Detected blocking call to open inside the event loop - MQTT #118405

Anto79-ops opened this issue May 29, 2024 · 2 comments · Fixed by #118412

Comments

@Anto79-ops
Copy link

Anto79-ops commented May 29, 2024

The problem

Hello, received these logs when updating to 2024.6.0b0

2024-05-29 12:47:42.788 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration 'mqtt' at homeassistant/components/mqtt/client.py, line 280: import paho.mqtt.client as mqtt # pylint: disable=import-outside-toplevel (offender: /usr/local/lib/python3.12/ctypes/util.py, line 276: with open(filepath, 'rb') as fh:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22
2024-05-29 12:47:42.796 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration 'mqtt' at homeassistant/components/mqtt/client.py, line 280: import paho.mqtt.client as mqtt # pylint: disable=import-outside-toplevel (offender: /usr/local/lib/python3.12/ctypes/util.py, line 276: with open(filepath, 'rb') as fh:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22
2024-05-29 12:47:42.818 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration 'mqtt' at homeassistant/components/mqtt/client.py, line 280: import paho.mqtt.client as mqtt # pylint: disable=import-outside-toplevel (offender: /usr/local/lib/python3.12/ctypes/util.py, line 276: with open(filepath, 'rb') as fh:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

thanks

What version of Home Assistant Core has the issue?

2024.6.0b0

What was the last working version of Home Assistant Core?

2024.5.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

MQTT

Link to integration documentation on our website

https://www.home-assistant.io/integrations/mqtt/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @emontnemery, @jbouwh, @bdraco, mind taking a look at this issue as it has been labeled with an integration (mqtt) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of mqtt can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign mqtt Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


mqtt documentation
mqtt source
(message by IssueLinks)

@bdraco
Copy link
Member

bdraco commented May 29, 2024

I'll fix this one

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

Successfully merging a pull request may close this issue.

5 participants