Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-21466

[CX] Wrong error message on trying to connect to a bucket which does not exist in cluster.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • CBAS DP
    • CBAS DP
    • analytics
    • None
    • cbas version:303
      couchbase version:4.5.1-2844
    • Untriaged
    • Unknown

    Description

      1. Do not create bucket test in couchbase cluster.Instead there is default bucket on cluster.
      2. cbq> create bucket test with {"bucket":"test","nodes":"172.23.108.232"} ;
      3. cbq> create shadow dataset test_shadow on test;
      4. cbq> connect bucket test ;
       
      Error message:
      {
      	"requestID": "a190fb37-1317-4411-bce3-c7d31258c41d",
      	"signature": "*",
      	"errors": [{ 
      	"code": "1",
      	"msg": "Unauthorized (bucket\/password invalid) - please check credentials!"
      	}],
      	"status": "fatal",
      	"metrics": {
      		"elapsedTime": "27.028701ms",
      		"executionTime": "26.761428ms",
      		"resultCount": "0",
      		"resultSize": "0"
      	}
      }
      
      

      Attachments

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

        Activity

          People

            till Till Westmann
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty