AmbiguousTimeoutException

Hi
I have couchbase server in kubernetes. where custom ports are exposed & mapped 8091 to 31533 & 12210 to 32191.

below is my code :

ClusterEnvironment env1 = ClusterEnvironment
        .builder()
        .timeoutConfig(TimeoutConfig.kvTimeout(Duration.ofSeconds(50)))
        .timeoutConfig(TimeoutConfig.connectTimeout(Duration.ofSeconds(40)))
        .timeoutConfig(TimeoutConfig.queryTimeout(Duration.ofSeconds(30)))
        .build();

 Set<SeedNode> seedNodes = new HashSet<>(Arrays.asList(
        SeedNode.create("localhost", Optional.of(32191), Optional.of(31533))));

Cluster cluster = Cluster.connect(seedNodes, ClusterOptions.clusterOptions("administrator", "password").environment(env1));
QueryResult queryResult = cluster.query("select * from bucket1");

I am getting below error:

com.couchbase.client.core.error.AmbiguousTimeoutException: QueryRequest {"cancelled":true,"completed":true,"coreId":"0xb834f7fa00000001","idempotent":false,"reason":"TIMEOUT","requestId":3,"requestType":"QueryRequest","retried":43,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE","BUCKET_OPEN_IN_PROGRESS"],"service":{"operationId":"e0e46d55-6ed4-4c5d-9939-4587739a8f7c","statement":"select * from bucket1","type":"query"},"timeoutMs":30000,"timings":{"totalMicros":30005767}}

however I am able to telnet both ports (31533, 32191) & bucket also exists in CB server.

Hi, we are facing a similar issue.
Were you able to find the root cause and fix for the issue? Please let us know.