Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.5.0
-
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"