During our development we were using single cluster setup for development purposes but when we deployed to live environment–multi cluster couchbases–we were welcomed with error connection. To further investigate I have setup a multi cluster setup using docker in my computer and a single cluster, the single cluster the SDK can easily connect with but when I try to connect to the multi cluster setup I get the error
Error: parent cluster object has been closed
Here is what the single and multi cluster looks like in my docker:
Here is my code that connects to my Couchbase:
this.cluster = new couchbase.Cluster("couchbase://localhost" {
username: username,
password: password
})