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
    • Resolution: Fixed
    • Major
    • 3.0.0
    • 3.0.0-beta.4
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty