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

cbq shell: Error Get bucket0:///pools: unsupported protocol scheme "bucket0" on giving wrong password while connecting to shell

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • query
    • Build 2151
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      Give a wrong password while connecting to shell and we see this error:

      /opt/couchbase/bin//cbq -u "bucket0" -s "select * from bucket0 limit 10"
      Enter Password:
      ERROR 100 : Unable to connect to http://localhost:8091/. N1QL: Connection failure Requested resource not found.

      Path to stored history for the shell : /root/.cbq_history
      ERROR 108 : N1QL: Connection failed Post bucket0:wrong@/query/service: unsupported protocol scheme "bucket0"
      N1QL: Unable to connect to cluster endpoint bucket0:wrong@. Error Get bucket0:///pools: unsupported protocol scheme "bucket0"

      Another use case is with super user Administrator:
      /opt/couchbase/bin//cbq -u "Administrator" -p dummy -s "select * from bucket0 limit 10"
      ERROR 100 : Unable to connect to http://localhost:8091/. N1QL: Connection failure Requested resource not found.

      Path to stored history for the shell : /root/.cbq_history
      ERROR 108 : N1QL: Connection failed Post administrator:dummy@/query/service: unsupported protocol scheme "administrator"
      N1QL: Unable to connect to cluster endpoint Administrator:dummy@. Error Get administrator:///pools: unsupported protocol scheme "administrator"

      Attachments

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

        Activity

          People

            isha Isha Kandaswamy (Inactive)
            Prerna.Manaktala Prerna Manaktala (Inactive)
            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