assafelovic/gpt-researcher

Getting SSL Certification Error while using the gpt-researcher in Vertex AI

hereiamravi opened this issue · 0 comments

Describe the bug
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)

To Reproduce
Steps to reproduce the behavior:

  1. Spin up the application using docker-compose in Vertex AI notebook
  2. Click on : open the application in broswer
  3. enter a text in the text box and enter
  4. Look at the gpt-researcher container logs -> Error below
    File "/usr/local/lib/python3.11/ssl.py", line 979, in do_handshake
    self._sslobj.do_handshake()
    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)

Expected behavior
How to resolve the SSL Certification Errors

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Debian : GCP Vertex AI
  • I did not find any issues when i spin up the app in my personal pc.