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

incorrect error message when connstr is missing bucket

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • 2.9.5
    • None
    • tools
    • None
    • 1

    Description

      I suspect this is an artifact of defaulting to defaults, but note that if I do not have a bucket name on the connstr, cbc says authentication fails:

      $ cbc stats key -U couchbase://centos7lx-55a.home.ingenthron.org -u bench -P -  green::1::10001874
      Bucket password: 
       
      Failed to bootstrap instance. libcouchbase error: Authentication failed. You may have provided an invalid username/password combination (0x2)
      

      The cluster log indicates the auth was successful, but it probably failed at bucket select because I left out the bucket name from the connstr. Would be great to make the error associated with the actual failure.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            ingenthr Matt Ingenthron
            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