Collection Map Refresh Failed Event error


Need some help, I am new to Couchbase, I am getting the below error while trying to connect and get data from Java API.

{"@timeStamp":"2022-05-31T16:26:46.947" ,"thread":cb-events, "logger":com.couchbase.config,
                        "message":[com.couchbase.config][CollectionMapRefreshFailedEvent][2505ms] Collection Map refresh (CollectionIdentifier{bucket='MyBucketName', scope=Optional[_default], collection=Optional[myCollectionName], isDefault=false}) failed: FAILED {"coreId":"0x67aedb0100000002"} }
com.couchbase.client.core.error.UnambiguousTimeoutException: GetCollectionIdRequest, Reason: TIMEOUT {"cancelled":true,"completed":true,"coreId":"0x67aedb0100000002","idempotent":true,"reason":"TIMEOUT","requestId":5,"requestType":"GetCollectionIdRequest","retried":14,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"MyBucketName","collection":"myCollectionName","opaque":"0x3","scope":"_default","type":"kv","vbucket":0},"timeoutMs":2500}

Hi Brivi,


It looks like the SDK is failing to get information about the collection myCollectionName in the default scope. I would double-check that this collection exists, and make sure the user has permission to view this collection.

If that doesn’t solve the problem, you can help us diagnose the issue by telling us the versions of Couchbase Server and the Couchbase Java SDK you’re using, and showing the code you’ve written to connect to Couchbase, as well as the code that’s failing. It would also help to see the full log output of your program, if possible.