home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.93k stars 30.99k forks source link

Velux "Detected blocking call to load_default_certs" #130417

Open hennaschorre opened 1 week ago

hennaschorre commented 1 week ago

The problem

Hello,

the integration "Velux" works good so far. Now i have installed the integration "Husqvarna Automower", the autorization works well but it does not show any entities. The attached log show some warnings about Detected blocking call to load_default_certs with args ... Velux.... Please have a look on it. home-assistant_husqvarna_automower_2024-11-12T09-17-26.778Z.log

Can you help please?

Greetings, Martin

What version of Home Assistant Core has the issue?

core-2024.11.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Velux

Link to integration documentation on our website

No response

Diagnostics information

config_entry-husqvarna_automower-01JCFSM2DRWHVVA1H50B9SRNGV(1).json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

bdraco commented 3 days ago

2024-11-12 09:41:29.456 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7f270ca93450>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='1.3.6.1.5.5.7.3.1')>) inside the event loop by integration 'velux' at homeassistant/components/velux/__init__.py, line 67: await self.pyvlx.load_scenes() (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+velux%22

home-assistant[bot] commented 3 days ago

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

Code owner commands Code owners of `velux` 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 velux` 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)


velux documentation velux source (message by IssueLinks)