autogen
autogen copied to clipboard
SSL Certificate Verification Failed when trying to fetch mcp tools
What happened?
Describe the bug I was trying to add a MCP. When I was using the streamable http server params and was trying to fetch mcp tools from a url of https it was giving the belo error:
httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'localhost'. (_ssl.c:1010)
When I researched about it we have to disable SSL verification. In the requests library of python we have that option. But it is not available here in this case.
Which packages was the bug in?
Python Extensions (autogen-ext)
AutoGen library version.
Python dev (main branch)
Other library version.
No response
Model used
No response
Model provider
OpenAI
Other model provider
No response
Python version
3.12
.NET version
None
Operating system
MacOS