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

            jmorris Jeff Morris created issue -
            ingenthr Matt Ingenthron made changes -
            Field Original Value New Value
            Status New [ 10003 ] Open [ 1 ]
            ingenthr Matt Ingenthron made changes -
            Component/s library [ 10122 ]
            ingenthr Matt Ingenthron made changes -
            Rank Ranked higher
            jmorris Jeff Morris made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jmorris Jeff Morris made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            richard.ponton Richard Ponton made changes -
            Link This issue relates to NCBC-2475 [ NCBC-2475 ]
            brett19 Brett Lawson made changes -
            Story Points 1

            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