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.

        Attachments

          Activity

            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: