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

ssl enabled and call BucketManger is throwing "remote host refused connection"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.2.6
    • library
    • Server -> 5.0.0-3947
      libcouchbase -> 2.7.7
      couchbase -> 2.2.6

    Description

      1. Have above versions of server, libcouchbase, couchbase
      2. Have the server up and running 
      3. Open python prompt
      4. Run below steps
        1. from couchbase.bucket import Bucket
        2. b = Bucket("couchbases://192.168.33.10/data-bucket?ssl=no_verify", password='password')
        1. b_manager = b.bucket_manager()
        1. b_manager.n1ql_index_create_primary(ignore_exists=True)

      Result : It is throwing an error

       

      "

      File "/usr/local/lib/python2.7/site-packages/couchbase/bucketmanager.py", line 428, in n1ql_index_create_primary

          '', defer=defer, primary=True, ignore_exists=ignore_exists)

        File "/usr/local/lib/python2.7/site-packages/couchbase/bucketmanager.py", line 412, in n1ql_index_create

          return IxmgmtRequest(self._cb, 'create', info, **options).execute()

        File "/usr/local/lib/python2.7/site-packages/couchbase/_ixmgmt.py", line 160, in execute

          return [x for x in self]

        File "/usr/local/lib/python2.7/site-packages/couchbase/ixmgmt.py", line 147, in __iter_

          raw_rows = self.__raw.fetch(self._mres)

      couchbase.exceptions.LCB_0x2C (generated, catch: CouchbaseNetworkError, CouchbaseTransientError): <RC=0x2C[The remote host refused the connection. Is the service up?], HTTP Request failed. Examine 'objextra' for full result, Results=1, C Source=(src/http.c,140), OBJ=ViewResult<rc=0x2C[The remote host refused the connection. Is the service up?], value=None, http_status=0>>

       

      "

      Note : It works fine if I use couchbase

      b = Bucket("couchbase://192.168.33.10/data-bucket", password='password')

      Attachments

        Activity

          People

            mike.goldsmith Michael Goldsmith
            sridevi.saragadam Sridevi Saragadam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty