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

BucketMissingException when trying to connect to Cluster

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta.3
    • 3.0.0-rc
    • None
    • None
    • 1

    Description

      When trying to connect as administrative account via below code:

       

      admin = Admin(username, password, host=url)
      

      I am getting below error in version 3.0.0-beta.3:
       

      Traceback (most recent call last):
        File "C:\Users\<USER>\test\test.py", line 21, in <module>
          admin = Admin(username, password, host=url)
        File "C:\Users\<USER>\AppData\Local\Programs\Python\Python37\lib\site-packages\couchbase\management\admin.py", line 98, in __init__
          self._connect()
      couchbase.exceptions.BucketMissingException: <RC=0xD2[LCB_ERR_BUCKET_NOT_FOUND (210)], 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,1200)>
      

      Code is executed against Couchbase Server Enterprise Edition 6.0.3 build 2895 nodes. Providing name of existing bucket solves the issue. The same thing happens with bug: PYCBC-740.
       

      Attachments

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

        Activity

          I am  getting the same BucketMissingException when trying method from PYCBC-740.

          mjankowski Maciej Jankowski added a comment - I am  getting the same BucketMissingException when trying method from  PYCBC-740 .

          Also tested against Couchbase Server Enterprise Edition 5.5.3 build 4039 with the same result. 

          Connecting with library version 2.5.10 is working fine.

          mjankowski Maciej Jankowski added a comment - Also tested against Couchbase Server Enterprise Edition 5.5.3 build 4039 with the same result.  Connecting with library version 2.5.10 is working fine.
          david.kelly David Kelly added a comment -

          The Admin interface is not going to be a public api – maybe deprecated?  But you can connect to the cluster using it  (like PYCBC-740 has been fixed for awhile).

          david.kelly David Kelly added a comment - The Admin interface is not going to be a public api – maybe deprecated?  But you can connect to the cluster using it  (like PYCBC-740 has been fixed for awhile).

          People

            david.kelly David Kelly
            mjankowski Maciej Jankowski
            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