Hi,
Server is 3.0
.NET SDK is ga 2.0.0.1
I have some clients that runs against a 4 Server couchbase cluster in a test environment.
It runs smooth…
Operation “Add`1” succeeded 0 for key “envelopemessage:19875392-0280-4e65-b247-44a4873f1843” : “”
until…
When i do a Failover I get the following errors:
Could not authenticate “testbucket” using Couchbase.Authentication.SASL.CramMd5Mechanism
at Couchbase.IO.Strategies.DefaultIOStrategy.Authenticate(IConnection connection)
at Couchbase.IO.Strategies.DefaultIOStrategy.Execute[T](IOperation1 operation) at Couchbase.Core.Server.Send[T](IOperation
1 operation)
After this it fails consistently with the following errors:
Failed to acquire a connection after 5 tries.
at Couchbase.IO.ConnectionPool1.Acquire() at Couchbase.IO.ConnectionPool
1.Acquire()
at Couchbase.IO.ConnectionPool1.Acquire() at Couchbase.IO.ConnectionPool
1.Acquire()
at Couchbase.IO.ConnectionPool1.Acquire() at Couchbase.IO.ConnectionPool
1.Couchbase.IO.IConnectionPool.Acquire()
at Couchbase.IO.Strategies.DefaultIOStrategy.Execute[T](IOperation1 operation) at Couchbase.Core.Server.Send[T](IOperation
1 operation)
This is how i set couchbase up in code:
var couchbaseConfiguration = new ClientConfiguration()
couchbaseConfiguration.Servers.Clear();
foreach (var node in _connectionString.Split(';'))
{
Serilog.Log.Debug("Couchbase node: {0}", node);
couchbaseConfiguration.Servers.Add(new Uri(node));
}
ClusterHelper.Initialize(couchbaseConfiguration);
var cluster = ClusterHelper.Get();
return cluster.OpenBucket(_bucket, _bucketPassword);
Any help as to what is wrong would be appreciated.
Im a bit puzzled as to why, it is suddenly unable to authenticate…
Regards,
Casper