Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1708

Incorrect exceptions thrown when for auth issues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.0.8
    • auth
    • None
    • 1

    Description

      Discovered some inconsistencies in Java exception handling when debugging server-side password changes:

      • For a KV operation : At connection time they are no validation of login password but only when a “real operation is done” like collection.insert or bucket.waitUntilReady
        in this case a generic exception is throw UnambiguousTimeoutException or AmbiguousTimeoutException
        an event of type SaslAuthenticationFailedEvent is generated inside the event bus
      • For a N1QL operation : when the password change a basic CouchbaseException is thrown

      Could we fix/add a consistent auth failure exception across the different services and be able to detect it as early as possible?

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty