Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.0-beta.4
-
None
-
1
Description
I have been trying to run tests against 6.0.3 and 5.5.6, and have been unable to bootstrap due to a KV error of NO_BUCKET:
fail: SdkdConsole.Daemon.Control[0]
Unexpected Exception on Run:One or more errors occurred. (Exception of type 'Couchbase.CouchbaseException' was thrown.)
System.AggregateException: One or more errors occurred. (Exception of type 'Couchbase.CouchbaseException' was thrown.)
---> Couchbase.CouchbaseException: Exception of type 'Couchbase.CouchbaseException' was thrown.
at Couchbase.Core.ClusterNode.ExecuteOp(Func`4 sender, IOperation op, Object state, CancellationToken token, Nullable`1 timeout) in /Users/willbroadbelt/Documents/repos/couchbase/couchbase-net-client/src/Couchbase/Core/ClusterNode.cs:line 457
at Couchbase.Core.ClusterNode.GetClusterMap() in /Users/willbroadbelt/Documents/repos/couchbase/couchbase-net-client/src/Couchbase/Core/ClusterNode.cs:line 251
at Couchbase.Core.ClusterContext.BootstrapGlobalAsync() in /Users/willbroadbelt/Documents/repos/couchbase/couchbase-net-client/src/Couchbase/Core/ClusterContext.cs:line 227
at Couchbase.Cluster.Couchbase.Core.Bootstrapping.IBootstrappable.BootStrapAsync() in /Users/willbroadbelt/Documents/repos/couchbase/couchbase-net-client/src/Couchbase/Cluster.cs:line 392
at Couchbase.Cluster.ConnectAsync(ClusterOptions options) in /Users/willbroadbelt/Documents/repos/couchbase/couchbase-net-client/src/Couchbase/Cluster.cs:line 121
at SdkdConsole.Daemon.Handle.ClusterAsync(ClusterOptions options) in /Users/willbroadbelt/Documents/repos/couchbase/sdkd-net/src/SdkdConsole/Daemon/Handle.cs:line 323
----------------------Context Info--------------------------
*
{"DispatchedFrom":null,"DispatchedTo":null,"DocumentKey":"","ClientContextId":"14","Cas":0,"Status":0,"BucketName":null,"CollectionName":null,"ScopeName":null,"Message":"KV Error: \{Name=\"NO_BUCKET\", Description=\"Not connected to any bucket\", Attributes=\"conn-state-invalidated\"}"}*
— End of inner exception stack trace —
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at SdkdConsole.Daemon.Handle.Run() in /Users/willbroadbelt/Documents/repos/couchbase/sdkd-net/src/SdkdConsole/Daemon/Handle.cs:line 98
For reference, this is the code that is being run https://github.com/couchbase/sdkd-net/blob/master/src/SdkdConsole/Daemon/Handle.cs#L321 and it works with 6.5.0. The ClusterOptions that are passed uses WithBuckets with the bucket name too.