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 load_verify_locations with args (<ssl.SSLContext object at 0x7f83c1faf250>,) inside the event loop by integration 'anthropic' #128368

Open
allenporter opened this issue Oct 14, 2024 · 1 comment

Comments

@allenporter
Copy link
Contributor

The problem

When creating the integration get the error message:
2024-10-14 07:09:57.426 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7f83c1faf250>,) inside the event loop by integration 'anthropic' at homeassistant/components/anthropic/config_flow.py, line 62: client = anthropic.AsyncAnthropic(api_key=data[CONF_API_KEY])

What version of Home Assistant Core has the issue?

core-2024.10.2

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

Anthropic Conversation

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-10-14 07:09:57.426 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7f83c1faf250>,) inside the event loop by integration 'anthropic' at homeassistant/components/anthropic/config_flow.py, line 62: client = anthropic.AsyncAnthropic(api_key=data[CONF_API_KEY]) (offender: /usr/local/lib/python3.12/site-packages/httpx/_config.py, line 149: context.load_verify_locations(cafile=cafile)), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+anthropic%22


### Additional information

_No response_
@home-assistant
Copy link

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

Code owner commands

Code owners of anthropic 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 anthropic 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)


anthropic documentation
anthropic source
(message by IssueLinks)

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

No branches or pull requests

1 participant