Hi all,
I have two Couchbase clusters with Couchbase 8.0.0 running on each.
SDK: 3.8.1
The first cluster uses XDCR to transfer its files into the second cluster.
Both clusters are identical in nearly every way.
I could connect and query both clusters from my .Net 10 environment about a week ago.
Then I shut them down for a week, and am now attempting to connect and query them again.
I can successfully connect to both of them. There is a call to WaitUntilReadyAsync() that both of them pass right away.
await cluster.WaitUntilReadyAsync(TimeSpan.FromSeconds(30));
However, when I run a query on the second one, I get this error:
Service n1ql is either not configured or cannot be reached. Check logs for details.
If I change my environment’s connection IP to the first one, it works and query results return as expected. If I change my IP to the second, I get the above error message. So, it doesn’t appear to be an issue with my code.
I’m not sure what to do to fix this issue, nor do I know which logs its referring to. I don’t see anything in the Couchbase console Logs tab about this.
Thanks for any help.
Hi @justinlloyd, which are the services present on node one and on node two?
Are the nodes both healthy after the restart?
Both nodes have data, query, and index on them. I haven’t changed any settings on them, and was able to query it previously.
And yes, as far as I can determine, both nodes are completely healthy.
I also created a third, new cluster and copied the data over and can connect to it just fine.
Obviously, I could just terminate this cluster and start fresh, but I would like to diagnose the issue in case it comes up in the future in production.
How are your nodes deployed (as service on a VM, as pods in Kubernetes)?
Are you able to check the nodes’ logs?
I would also suggest to check the second node reachability/connectivity.
They are deployed in VMs.
As for checking the logs, as mentioned above, there’s not much displayed in the Logs tab when I go to the Couchbase console. (ie. :8091)
Is there somewhere else to view them?
Otherwise, connectivity seems just fine. I can log into the console, query as normal, other nodes can XDCR over into it, etc. I just can’t connect from my .net application.
Is there another way to check for connectivity?
Are you able to log to the node 2 endpoint?
Not on the console endpoint, but the specific one.
Anyway there should be a specific path on the VM where logs are stored.
I.e. Manage Logging | Couchbase Docs