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

[#217] resolve "blocking call" warning log. #259

Merged
merged 1 commit into from
Oct 27, 2024
Merged

[#217] resolve "blocking call" warning log. #259

merged 1 commit into from
Oct 27, 2024

Conversation

jekalmin
Copy link
Owner

Issue

2024-10-27 13:45:53.213 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7bebd793ddd0>,) inside the event loop by custom integration 'extended_openai_conversation' at custom_components/extended_openai_conversation/helpers.py, line 146: client = AsyncOpenAI( (offender: /home/vscode/.local/ha-venv/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/jekalmin/extended_openai_conversation/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_verify_locations

Objective

  • Fix blocking call to verify cafile.

@jekalmin jekalmin self-assigned this Oct 27, 2024
@jekalmin jekalmin merged commit 369aa16 into v1.0.4 Oct 27, 2024
4 checks passed
@jekalmin jekalmin added this to the 1.0.4 milestone Oct 27, 2024
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

Successfully merging this pull request may close these issues.

1 participant