Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-890

Python sdk uses port 8091 when ssl enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.1
    • Component/s: library
    • Labels:
      None

      Description

      1. Block 8091 port on the host where server is going to be installed
      2. Have couchbase server with ssl enabled
      3. Now do sdk call to query n1ql to create primary index

      Result : It fails with an error

      rv = self.bucket_class(str(connstr), **kwargs)
        File "/usr/lib64/python2.7/site-packages/couchbase/bucket.py", line 250, in _init_
          self._do_ctor_connect()
        File "/usr/lib64/python2.7/site-packages/couchbase/bucket.py", line 259, in _do_ctor_connect
          self._connect()
      couchbase.exceptions._BucketNotFoundError_0x19 (generated, catch BucketNotFoundError): <RC=0x19[The bucket requested does not exist], There was a problem while trying to send/receive your request over the network. This may be a result of a bad network or a misconfigured client or server, C Source=(src/bucket.c,785)>

       

      Worked fine when I tested without blocking ports

        Attachments

        For Gerrit Dashboard: CCBC-890
        # Subject Branch Project Status CR V

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.0.0-1259 contains libcouchbase commit c1faf87 with commit message:
          CCBC-890: always check if SSL used when getting ports

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.0-1259 contains libcouchbase commit c1faf87 with commit message: CCBC-890 : always check if SSL used when getting ports
          Hide
          Ellis.Breen Ellis Breen added a comment -

          Will check tomorrow - thanks.

          Show
          Ellis.Breen Ellis Breen added a comment - Will check tomorrow - thanks.
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.5.0-1012 contains libcouchbase commit c1faf87 with commit message:
          CCBC-890: always check if SSL used when getting ports

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1012 contains libcouchbase commit c1faf87 with commit message: CCBC-890 : always check if SSL used when getting ports
          Hide
          avsej Sergey Avseyev added a comment -

          the fix is available in 2.9.1 and 2.9.2 releases of libcouchbase

          Show
          avsej Sergey Avseyev added a comment - the fix is available in 2.9.1 and 2.9.2 releases of libcouchbase
          Hide
          ingenthr Matt Ingenthron added a comment -

          Ellis Breen: back in June you were going to verify "tomorrow", was it verified?

          Show
          ingenthr Matt Ingenthron added a comment - Ellis Breen : back in June you were going to verify "tomorrow", was it verified?

            People

            • Assignee:
              Ellis.Breen Ellis Breen
              Reporter:
              sridevi.saragadam Sridevi Saragadam
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.