Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10622

Python Connect String to Capella - does not work "out of box"

    XMLWordPrintable

Details

    Description

      The sample code uses

      1. cluster = Cluster('couchbases://{}'.format(endpoint), ClusterOptions(auth))

      Should have sample that uses the no ssl option or a second sample using a Capella cert.

      Examples:
      cluster = Cluster("couchbases://demo.cloud.couchbase.com?ssl=no_verify", ClusterOptions(PasswordAuthenticator("demo","Password123!")))

      or

      cluster = Cluster("couchbases://cb.demo.cloud.couchbase.com", ClusterOptions(PasswordAuthenticator("demo","Password123!",cert_path="/Users/username/Playground/root-certificate.txt")))

      Assume the users copying pasting the sample is a novice and can't debug.

      Reporter: Tim Wong
      E-mail: tim.wong@couchbase.com

      Attachments

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

        Activity

          People

            richard.smedley Richard Smedley
            tim.wong Tim Wong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty