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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.7
    • Fix Version/s: 2.4.8
    • Component/s: None
    • Labels:
      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

              • Assignee:
                mike.goldsmith Michael Goldsmith
                Reporter:
                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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.