Skip to content

Conversation

flokiyf
Copy link

@flokiyf flokiyf commented Jul 16, 2025

  • Add robust SSL/TLS error handling with retry logic
  • Implement fallback mechanism for SSL verification failures
  • Add configuration via OPEN_DEEP_RESEARCH_VERIFY_SSL environment variable
  • Create safe_http_request() function with exponential backoff
  • Update MCP token exchange to use secure HTTP requests
  • Add SSL handling to legacy utils for web scraping
  • Include comprehensive test suite (test_ssl_fix.py)
  • Add certifi dependency for proper certificate handling
  • Provide detailed documentation and troubleshooting guide

This fix resolves the httpx.ConnectError that was blocking web search and MCP connections. The solution maintains security by default while providing fallback options for development environments.

Closes #136

…-ai#136)

- Add robust SSL/TLS error handling with retry logic
- Implement fallback mechanism for SSL verification failures
- Add configuration via OPEN_DEEP_RESEARCH_VERIFY_SSL environment variable
- Create safe_http_request() function with exponential backoff
- Update MCP token exchange to use secure HTTP requests
- Add SSL handling to legacy utils for web scraping
- Include comprehensive test suite (test_ssl_fix.py)
- Add certifi dependency for proper certificate handling
- Provide detailed documentation and troubleshooting guide

This fix resolves the httpx.ConnectError that was blocking web search
and MCP connections. The solution maintains security by default while
providing fallback options for development environments.

Closes langchain-ai#136
@rlancemartin rlancemartin mentioned this pull request Jul 17, 2025
@flokiyf flokiyf closed this Aug 4, 2025
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.

httpx.ConnectError
1 participant