Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9388

[CLI] Add a node and rebalance documentation states that 'https://' is used by default

    XMLWordPrintable

Details

    • 1

    Description

      What's the issue?
      The docs site for adding a node via the CLI states the following.

      Note that the server to be added should be prefixed with an appropriate scheme (ie, http:// or https://): if none is specified, https:// is used as the default.

      I don't believe this is the case, for uses to connect via HTTPS, they will need to supply 'https://'.

      # If the netloc is empty then it means that there was no scheme added
      # to the URI and we are parsing it as a path. In this case no scheme
      # means HTTP so we can add that scheme to the hostname provided.
      if parsed.netloc == "":
          parsed = urllib.parse.urlparse("http://" + values)
      

      This code from the 'CBEnvAction' (used by the '--cluster' flag) appears to back this up.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            simon.dew Simon Dew
            james.lee James Lee
            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