Find answers from the community

Updated 3 months ago

Hey guys

Hey guys
While doing this
Index=VectorStoreIndex.from_documents(documents)

Pls help me out

Following error I'm getting
SSLCertVerificationError
ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certify verify failed: unable to get local issuer certificate( _ssl.c: 992)
ApiConnectionError: connection error.

I have tried other indexes like GPTVectorStoreIndex, SimpleVetorIndex getting same error here also
r
L
P
3 comments
This is typically due to one of the following reasons:

  1. The SSL certificate of the server you're trying to connect to is not trusted by your system. This could be because the certificate is self-signed, the certificate authority that issued the certificate is not trusted, or the server setup is incorrect.
  1. Your system doesn't have the necessary certificates to trust the server's SSL certificate. This is common on systems where the certificate store isn't regularly updated.
  1. There's an issue with your Python installation's SSL module. This is common if you're using an older version of Python or if Python was compiled without SSL support.
To resolve this issue, you can try the following:

  1. Update your system's certificate store. This process varies depending on your operating system.
  1. If you're using a Python version installed via a package manager like conda, try creating a new environment with a fresh Python installation and see if the issue persists.
  1. If you're trying to connect to a server with a self-signed certificate, you might need to add that certificate to your system's trusted certificates store.
  1. If none of the above solutions work, maybe @Logan M or @WhiteFang_Jr can help?
I also typically see this when using a VPN
Thanks bro will try the following things
Add a reply
Sign up and join the conversation on Discord