Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1396

Getting SSL Errors with Python SDK on EC2 instance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • None
    • 4.0.2
    • library
    • EC2 - Py SDK 4.0.2 - SSL 1.1.1
    • Impediment
    • 1

    Description

      See this Slack thread -> 

      https://couchbase.slack.com/archives/CC6GX1CJJ/p1659748932270769

       
      Hi all,Trying to run a csv file import using the docs from -> https://docs.couchbase.com/server/current/guides/import.html#importing-using-an-sdkcopied the SDK connect sample code from Capella -> Connect -> SDK Sample (Python)installed the latest version of Python 4.0.3 on my linux instance per the docs here:
      https://docs.couchbase.com/python-sdk/current/hello-world/start-using-sdk.htmlsample app attached and sample of 100kline.csv attached too.
      Getting this error message when running the file:
      [ec2-user@ip-172-31-3-189 ~]$ python multiup.py
      Traceback (most recent call last):
      File "multiup.py", line 9, in <module>
      from couchbase.cluster import Cluster
      File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/cluster.py", line 24, in <module>
      from couchbase.analytics import AnalyticsQuery, AnalyticsRequest
      File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/analytics.py", line 16, in <module>
      from couchbase.exceptions import (PYCBC_ERROR_MAP,
      File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/exceptions.py", line 28, in <module>
      from couchbase.pycbc_core import exception
      ImportError: libssl.so.1.1: cannot open shared object file: No such file or directory
      Since the traceback drills from the multi.py file into the core libraries…i figured this is the best place to ask for help resolving the matter. (Installed all the commands first as user then as sudo and both got errors).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jared.casey Jared Casey
            muk.sreenivasan Muk Sreenivasan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty