Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-24522

cfg_cb auth failure when bucketname != username

    XMLWordPrintable

Details

    • Triaged
    • Unknown

    Description

      When attempting to connect to an RBAC-secured bucket, when username != bucketname, cfg_cb is failing to connect, with an error like:

      2017/05/23 13:52:34 cfg_cb: OnError, err: HTTP error 401 Unauthorized getting "http://localhost:8091/pools": 

      2017/05/23 13:52:34 cfg_cb: OnError, err: could not connect to any serverURL: []string{"http://accel:password@localhost:8091"}

      The problem may be in CfgCB's implementation of GetCredentials - it looks like it's always returning username as bucketname, even if the user is defined in the url.

       

      Attachments

        Activity

          People

            Sreekanth Sivasankaran Sreekanth Sivasankaran (Inactive)
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty