[Bug] ssl_verify parameter for IndexAsyncio does not work #465
Labels
bug
Something isn't working
status:needs-triage
An issue that needs to be triaged by the Pinecone team
Is this a new bug?
In other words: Is this an error, flaw, failure or fault? Please search Github issues and check our Community Forum to see if someone has already reported the bug you encountered.
If this is a request for help or troubleshooting code in your own Pinecone project, please join the Pinecone Community Forum.
Describe the bug
When instantiating a new async index with
ssl_verify=False
, e.g.:API calls (specifically
update
, but probably all the others) do not work because aiohttp TCP Connectors requireverify_ssl
orssl_context
but not both. See https://github.com/aio-libs/aiohttp/blob/v3.9.0/aiohttp/client_reqrep.py#L169. The solution probably looks something like this, see inpinecone-python-client/pinecone/openapi_support/rest_aiohttp.py
Line 17 in cf20e5d
You could also use a more modern version of aiohttp which doesn't have these legacy ssl parameters.
Error information
Environment
The text was updated successfully, but these errors were encountered: