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

[Regression] SSL verification for requests wrapper crashes for async requests #24654

Closed
5 tasks done
ldorigo opened this issue Jul 25, 2024 · 0 comments · Fixed by #24655
Closed
5 tasks done

[Regression] SSL verification for requests wrapper crashes for async requests #24654

ldorigo opened this issue Jul 25, 2024 · 0 comments · Fixed by #24655
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@ldorigo
Copy link
Contributor

ldorigo commented Jul 25, 2024

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

Introduced by 70761af - aiohttp has not verify parameter https://github.com/langchain-ai/langchain/blame/master/libs/community/langchain_community/utilities/requests.py (line 65 & others) causing the application to crash in async context.

Error Message and Stack Trace (if applicable)

Description

See above, can hardly be more descriptive. You need to replace verify by verify_ssl.

System Info

System Information

OS: Linux
OS Version: #1 SMP PREEMPT_DYNAMIC Mon, 15 Jul 2024 09:23:08 +0000
Python Version: 3.12.4 (main, Jun 7 2024, 06:33:07) [GCC 14.1.1 20240522]

Package Information

langchain_core: 0.2.23
langchain: 0.2.11
langchain_community: 0.2.10
langsmith: 0.1.93
langchain_cli: 0.0.24
langchain_cohere: 0.1.9
langchain_experimental: 0.0.63
langchain_mongodb: 0.1.7
langchain_openai: 0.1.8
langchain_text_splitters: 0.2.2
langchainhub: 0.1.20
langgraph: 0.1.11
langserve: 0.2.1

@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant