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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.1
    • library
    • 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

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

          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
          Ellis.Breen Ellis Breen added a comment -

          Will check tomorrow - thanks.

          Ellis.Breen Ellis Breen added a comment - Will check tomorrow - thanks.

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

          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

          the fix is available in 2.9.1 and 2.9.2 releases of libcouchbase

          avsej Sergey Avseyev added a comment - the fix is available in 2.9.1 and 2.9.2 releases of libcouchbase

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

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

          People

            Ellis.Breen Ellis Breen
            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