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

OperationResult will return ClientFailure when an Auth failure

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • backlog-2.0
    • 2.2.8
    • library
    • None
    • SDK39: CLQ, Docs

    Description

      If an auth failure occurs, the client will return a status of ClientFailure

      at Couchbase.IO.Services.MultiplexingIOService.Authenticate(IConnection connection) in C:\Users\jmorris\repos\couchbase-net-client\Src\Couchbase\IO\Services\MultiplexingIOService.cs:line 332
      at Couchbase.IO.Services.MultiplexingIOService.Execute[T](IOperation`1 operation) in C:\Users\jmorris\repos\couchbase-net-client\Src\Couchbase\IO\Services\MultiplexingIOService.cs:line 98

      Note that the Exception Type returned is correct: AuthenticationException

      The Message is simply the name of the bucket: "default", this should be something like "Authentication failed for bucket 'default'."

      Making the Status and Message reflect the error will make it much easier to debug!

      Attachments

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

        Activity

          People

            mike.goldsmith Michael Goldsmith
            jmorris Jeff Morris
            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