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

View and N1QL queries fail on single-node cluster

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.7
    • 2.4.8
    • None
    • None

    Description

      View and N1QL queries fail with connectivity issues on single node clusters. This is because the address is using a default of 127.0.0.1 instead of the actual server address. This is because the default hostname is 127.0.0.1 when setting up the server and the server omits this value in the bucket config JSON structure is default. Previous to NCBC-1457, if the hostname was null it would use the Node.Hostname, however now it defaults to 127.0.0.1.

      This only affects single-node clusters, once a second node has been added to the cluster the hostname returned in the bucketConfig is correct.

      Workaround

      Set the server hostname when setting up the single node to be the same as the server's public IP. The default is 127.0.0.1.

      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

              mike.goldsmith Michael Goldsmith
              mike.goldsmith Michael Goldsmith
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty