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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.2
    • library
    • 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

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

        Activity

          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.

          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

            jmorris Jeff Morris
            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