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

Kubernetes Couchbase cluster - ServiceNotSupportedException-QueryService

    XMLWordPrintable

Details

    • 1

    Description

      Hello,

      I setup a K8 cluster in GCP. I deployed Couchbase operator and cluster using the helm charts available under https://couchbase-partners.github.io/helm-charts/

      I deployed a .NETCore API which uses the official Couchbase C# SDK and initialize the connection to couchbase cluster. When the API try to execute any N1QL statement i am getting below exception

      Couchbase.Core.Services.ServiceNotSupportedException: A request has been made for a service that is not configured or supported by the cluster. Please check the cluster and enable or add a new node with the requested service: Query.

       

      I am able to login to the UI console and manually execute the N1QL queries on the cluster. But same is not working from code using the SDK. The Couchbase cluster pods do not have any exposed service for port 8093. Also i dont see any envirponment varaibles available for this port. Is this the reason for Query service not to be available to consume?

      My assumption is running the query using the UI console does not uses port 8093 and hence it works. Please let me know if you need any further detail from my end.

      Regards

      Kishore Allwynraj

      Attachments

        Activity

          People

            jmorris Jeff Morris
            kishoreallwynraj_a Kishore Allwynraj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty