Hi, I’m stucked to connnect to my Production bucket using the .net SDK but have success to connect to bucket in the staging environment.
The diff is that production runs on Bucket that its inside in a Cluster 3 nodes.
The staging is a simple community bucket installation.
My Couchbase SDK Version is 2.5.9
My bucket versions is 5.0 staging and 5.5 production
My error is
t.Exception.Message
“Could not acquire a server.”
t.Exception.StackTrace
" em Couchbase.Core.Buckets.RequestExecuterBase.GetServerWithRetry(Func1 getServer)\r\n em Couchbase.Core.Buckets.RequestExecuterBase.RetryRequest[TRequest,TResult](Func
1 getServer, Func3 sendRequest, Func
3 canRetry, TRequest request)\r\n em Couchbase.Core.Buckets.CouchbaseRequestExecuter.SendWithRetry[T](IQueryRequest queryRequest)"
I made some research and saw someone saying that my bucket or cluster reference can be disposed by garbage collector, so i made a recheck on my injection, but even if a add a call after the bucket instance the error happens
The code base i’m testing is in the image bellow, if a switch the IP of Production to STAGING its works:
Someone said that maybe its can be a firewall Issue I have run the sdk-doctor and saw that the connections are Okay (even with that confirmation i made a test in the machine pointing localhost with firewall disabled, indeed same error).
The output is
Any point i’m forgeting?