I am trying to test my index by upserting some test vectors.
pinecone.init(
api_key = “x”,
environment = “gcp-starter”
)
index = pinecone.Index('x)
index.upsert([
(“A”, [0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1]),
(“B”, [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2]),
(“C”, [0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3]),
(“D”, [0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4]),
(“E”, [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5])
])
I am getting the error:
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘x’, port=443): Max retries exceeded with url: /vectors/upsert (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)’)))
I replaced my sensitive data with x. I have already tried everything. I have already tried putting the ca certificates in my environment (REQUEST_CA_BUNDLE) (this solved the ssl error with the open ai api, but it doesnt work for the pinecone api) and directly in the file cacerts. I have tried disabling sll, disabling the firewall, disabling the vpn, using the whole certificate chain and not just the root. Nothing works!! Any ideas?
2 posts - 2 participants