I’m getting a TimeoutException when I try to open a bucket after another openBucket call failed with Invalid Password.
I’m using Java SDK 2.1.2, on a single noded cluster running Couchbase 3.0.3
Here’s some code snnipet that will simulate the error:
Bucket bucket;
CouchbaseCluster cluster = CouchbaseCluster.create();
try {
bucket = cluster.openBucket("bucketName", "wrongPassword");
} catch (Exception e) {
e.printStackTrace();
}
bucket = cluster.openBucket("bucketName", "password");
It does have the same behavior if I try to open a different Bucket after the Invalid Password attempt.
Is it anything wrong on the way I’m handling this? or is it a bug on SDK?
if so, any workarounds?
Thanks!!