Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2407

Couchbase.ServiceNotAvailableException: Service n1ql not available

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta.4
    • 3.0.0
    • library
    • None
    • 1

    Description

      we are seeing an issue with our Staging environment which has 8 servers, 4 with only data services enabled and another 4 with query/index services enabled. When the SDK attempts a query, we get the exception below. We normally pass in the whole list of servers in our ClusterOptions, but we have also tried just explicitly passing in a single server that has query/index services. Always get the same exception. Is it a requirement that ALL servers in your CB cluster must have data/query/index services enabled in order for the SDK queries to work?

      Couchbase.ServiceNotAvailableException: Service n1ql not available.
         at Couchbase.Core.ClusterContext.GetRandomNodeForService(ServiceType service, String bucketName)
         at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, IDataMapper dataMapper)
         at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options)
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            There are no comments yet on this issue.

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty