Authentication Issue Java

Edit: This is interesting. Can you connect using 127.0.0.1?

12:07:43.083 WARN ▶ Bootstrap host `localhost` has more than one single DNS entry associated.  While this is not neccessarily an error, it has been known to cause difficult-to-diagnose problems in the future when routing is changed or the cluster layout is updated.
12:07:43.083 INFO ▶ Bootstrap host `localhost` has IPv6 addresses associated. This is only supported in Couchbase Server 5.5 or later, and must be specifically enabled on the cluster.

Original:

Looks like it should work. Can you post all the output from the Java SDK? Configuring logging at Debug will give more output that might help. Can you try running SDK Doctor and the client one right after the other? (to make sure that the server is running when both are executed). And - I assume that you are, but you’re running the client from the same host where the server is running so that couchbase://localhost works?

  • Mike