Couchbase, .net sdk throws serviceNotSupportedExcepiton -


im using latest .net sdk 2.5 , 4.5.0-2601 enterprise edition (build-2601).

i have followed tutorial on setting multiple nodes locally worked fine. problem within code when call cluster.openbucket method hangs before throwing servicenotsupported exception.

stack trace

----> couchbase.core.services.servicenotsupportedexception : request has been made service not configured or supported cluster. please check cluster , enable or add new node requested service: data. @ system.threading.tasks.task.throwifexceptional(boolean includetaskcanceledexceptions) @ system.threading.tasks.task.wait(int32 millisecondstimeout, cancellationtoken cancellationtoken) @ system.threading.tasks.task.wait() @ toggle.command.tests.unit.couchbase.couchbasefeaturestoretests.testcreatefeaturedefinitionasync() in c:\bitbucket\toggle.command\tests\unit\composition\couchbase\couchbasefeaturestoretests.cs:line 93 --servicenotsupportedexception @ system.runtime.exceptionservices.exceptiondispatchinfo.throw() @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ couchbase.core.buckets.couchbaserequestexecuter.d__161.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.exceptionservices.exceptiondispatchinfo.throw() @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ system.runtime.compilerservices.configuredtaskawaitable1.configuredtaskawaiter.getresult() @ fleetmatics.toggle.cache.services.storage.couchbase.couchbasefeaturestore.d__6.movenext() in c:\bitbucket\toggle.command\toggle.cache.services\storage\couchbase\couchbasefeaturestore.cs:line 153 --- end of stack trace previous location exception thrown --- @ system.runtime.exceptionservices.exceptiondispatchinfo.throw() @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ system.runtime.compilerservices.configuredtaskawaitable`1.configuredtaskawaiter.getresult() @ fleetmatics.toggle.cache.services.storage.couchbase.couchbasefeaturestore.d__2.movenext() in c:\bitbucket\toggle.command\toggle.cache.services\storage\couchbase\couchbasefeaturestore.cs:line 63

all 3 nodes have data, query , index services enabled on them.

my config

 config = new clientconfiguration             {                 servers = new list<uri>                 {                     new uri("http://127.0.0.1:8091/pools/")                   },                 usessl = false,                 defaultoperationlifespan = 1000,                 bucketconfigs = new dictionary<string, bucketconfiguration>                 {                     {                         "featuredefinition", new bucketconfiguration                         {                             bucketname = "featuredefinition",                             usessl = false,                             password = "",                             defaultoperationlifespan = 2000,                             poolconfiguration = new poolconfiguration                             {                                 maxsize = 10,                                 minsize = 5,                                 sendtimeout = 12000                             }                         }                     },                     {                         "featurevalue", new bucketconfiguration                         {                             bucketname = "featurevalue",                             usessl = false,                             password = "",                             defaultoperationlifespan = 2000,                             poolconfiguration = new poolconfiguration                             {                                 maxsize = 10,                                 minsize = 5,                                 sendtimeout = 12000                             }                         }                     }                 }             };             cluster = new cluster(config); 

any tips or appreciated. thanks.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -