Java SDK (Couchbase Server 6.5) failed with AuthenticationFailureException:

Hi, I have problem connecting to my local Couchbase cluster (created accroding to this guide):

[cb-events] ERROR com.couchbase.io - [com.couchbase.io][SaslAuthenticationFailedEvent][188ms] Authentication Failure {"coreId":"0xd220a2fd00000001","local":"/127.0.0.1:55388","remote":"127.0.0.1/127.0.0.1:11210"}
[cb-events] WARN com.couchbase.endpoint - [com.couchbase.endpoint][EndpointConnectionFailedEvent][563ms] Connect attempt 1 failed because of AuthenticationFailureException: Authentication Failure {"circuitBreaker":"DISABLED","coreId":"0xd220a2fd00000001","remote":"127.0.0.1:11210","type":"KV"}
com.couchbase.client.core.error.AuthenticationFailureException: Authentication Failure {"status":"UNKNOWN"}
        at com.couchbase.client.core.io.netty.kv.SaslAuthenticationHandler.failConnect(SaslAuthenticationHandler.java:441)
        at com.couchbase.client.core.io.netty.kv.SaslAuthenticationHandler.channelRead(SaslAuthenticationHandler.java:212)
        at com.couchbase.client.core.io.netty.kv.MemcacheProtocolVerificationHandler.channelRead(MemcacheProtocolVerificationHandler.java:84)
        at java.base/java.lang.Thread.run(Thread.java:834)

Basically, I copy & paste code from official Java SDK doc:

public class Couchbase {
  private static Logger log = LoggerFactory.getLogger(Couchbase.class);

  private Cluster cluster;
  private Bucket bucket;
  private Collection coll;

  public Couchbase(String url, String uname, String pwd, String bucket) {
    this.cluster = Cluster.connect(url, uname, pwd);
    this.bucket  = this.cluster.bucket(bucket);
    this.coll    = this.bucket.defaultCollection();
  }
....

then in main class:

Couchbase cb = new Couchbase("127.0.0.1", "user", "123456", "testbucket");

The user i used was created with full admin right.

Initially I was searching for Erlang/Elixir driver but found none! So, I turned to Java as last resort to write a HTTP-based driver for my Elixir app. I really like the KV style and redundancy model of Couchbase. Hope this works out…

Thanks a lot!