Could not run N1QL, and Rebalance

Hi,

Im using
Enterprise Edition 6.0.1 build 2037 ‧ IPv4
OS: Ubuntu Server 16.04

Client:
cbq
couchbase-java-client-2.7.4
spark-connector_2.11-2.2.0
scala-client_2.12-1.0.0-alpha.2.jar

i have some questions, would you help.

  1. I just added role to user A to have SELECT to bucket/all + Data read to all, but my cbq commandline always returned 13014, the Java & Spark connect were too, mean the user A did not have SELECT right to n1ql SELECT. Pls help?

  2. I just deploy on 2 nodes, but i could not REBALANCE, it always threw, would you help?

Invalid post received: {mochiweb_request,
[#Port<0.17196369>,‘POST’,"/query/service",
{1,1},
{7,
{“host”,
{‘Host’,“45.118.145.43:8091”},
{“content-length”,
{‘Content-Length’,“160”},
{“authorization”,
{‘Authorization’,“Basic dXNmYjpGYkAzMjE5”},
{“accept-encoding”,
{‘Accept-Encoding’,“gzip”},
nil,nil},
{“cb-user-agent”,
{“Cb-User-Agent”,“godbc/2.0.0-N1QL”},
nil,nil}},
{“content-type”,
{‘Content-Type’,
“application/x-www-form-urlencoded”},
nil,nil}},
{“user-agent”,
{‘User-Agent’,“Go-http-client/1.1”},
nil,nil}}}]}

BR,
KoolJ