I have an installation of community server version 2.2.0-build 837 on an AWS machine. Everything works fine until last week AWS patch the Linux VM (CentOS 6.5 64 bits) and restart the machine. After that, this strange thing happened:
I can login use my admin username/password into the management web UI. Assuming the username is admin, password is ‘passwd’. If I login to the couchbase AWS VM, and run this on the VM:
cd /opt/couchbase/bin
./couchbase-cli bucket-list -c localhost:8091 -u admin -p passwd
ERROR: unable to access the REST API - please check your username (-u) and password (-p)
I have asked several of my colleague to check with me about the username and password I typed and they are correct. I have no idea why the same credential can work in management Web UI but not this couchbase-cli.
I am not sure whether it is related, but our Java CouchbaseClient code also suddenly failed to read data at this point.
I wonder what could be the reason for such thing?
What log that I can look into to get more info when I run the couchbase-cli command or login to the management Web UI?
Thanks for helping