Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5864

[Python client] Provide better error description when SASL required but no credentials provided

    Details

      Description

      When qpidd is started with auth=yes and ANONYMOUS mechanism disabled, an attempt to connect to it without credentials provides confusing error:

      $ qpid-stat -q
      Failed: AuthenticationFailure - Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found
      $

      While e.g. PLAIN mechanism is available.

      The error should be rather "Anonymous connections disabled, missing credentials" or so.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1607086 from Pavel Moravec in branch 'qpid/trunk'
        [ https://svn.apache.org/r1607086 ]

        QPID-5864: [Python client] Provide better error description when SASL required but no credentials provided

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1607086 from Pavel Moravec in branch 'qpid/trunk' [ https://svn.apache.org/r1607086 ] QPID-5864 : [Python client] Provide better error description when SASL required but no credentials provided

          People

          • Assignee:
            pmoravec Pavel Moravec
            Reporter:
            pmoravec Pavel Moravec
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development