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

Auth error (401) raised in config thread of Memached buckets for CB 5.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.2
    • Component/s: library
    • Labels:
      None

      Description

      May be a blocker...

      2017-10-17 11:57:52,024 [stmconfig] INFO Couchbase.Configuration.Server.Providers.Streaming.ConfigThreadState - Listening to http://10.111.170.102:8091/pools/default/bs/memcached
      2017-10-17 11:57:52,041 [stmconfig] ERROR Couchbase.Configuration.Server.Providers.Streaming.ConfigThreadState - System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Couchbase.Configuration.Server.Providers.Streaming.ConfigThreadState.ListenForConfigChanges()

        Attachments

        For Gerrit Dashboard: NCBC-1560
        # Subject Branch Project Status CR V

          Activity

          Hide
          jmorris Jeff Morris added a comment -

          Code here sends bucketname instead of username even if it's a CB 5.0 server: https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/Configuration/Server/Providers/Streaming/ConfigThreadState.cs#L67

          The logic should check to see if the username exists, which indicates RBAC is being used, and then send that along with the password.

          Show
          jmorris Jeff Morris added a comment - Code here sends bucketname instead of username even if it's a CB 5.0 server: https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/Configuration/Server/Providers/Streaming/ConfigThreadState.cs#L67 The logic should check to see if the username exists, which indicates RBAC is being used, and then send that along with the password.

            People

            • Assignee:
              jmorris Jeff Morris
              Reporter:
              jmorris Jeff Morris
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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.