Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Beta
    • Fix Version/s: 1.0.0
    • Component/s: docs
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Current version

      Description

      The docs on Couchbase.connect() are not clear on what to specify when a bucket of type "Couchbase" is set to a dedicated port. I thought you need to specify the "port" in the connection parameters, but you don't.

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

        Activity

        Hide
        mnunberg Mark Nunberg added a comment -

        You don't connect to the bucket – you connect to the REST/configuration port. The REST/configuration info will tell the client which port the bucket resides on.

        While it is possible to have the REST port on a different port other than default, this is not very common and pretty much only used internally (afaik couchbase doesn't have any UI functionality for changing the default RESt port).

        Show
        mnunberg Mark Nunberg added a comment - You don't connect to the bucket – you connect to the REST/configuration port. The REST/configuration info will tell the client which port the bucket resides on. While it is possible to have the REST port on a different port other than default, this is not very common and pretty much only used internally (afaik couchbase doesn't have any UI functionality for changing the default RESt port).
        Hide
        vmx Volker Mische added a comment -

        Someone on IRC had that problem and I was helping out and found out that it wasn't even clear to me. Perhaps the docs should be more explicit that the connection parameter for the port is for the Couchbase instance and not the bucket.

        Show
        vmx Volker Mische added a comment - Someone on IRC had that problem and I was helping out and found out that it wasn't even clear to me. Perhaps the docs should be more explicit that the connection parameter for the port is for the Couchbase instance and not the bucket.
        Show
        mnunberg Mark Nunberg added a comment - https://github.com/couchbase/couchbase-python-client/commit/e8663deb33bcf2ea4d6a43436016d3459103f337

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            vmx Volker Mische
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes