You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/12/20 15:33:00 UTC

[jira] [Updated] (PROTON-1473) [C++ binding] cryptic error message when authentication fails

     [ https://issues.apache.org/jira/browse/PROTON-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated PROTON-1473:
--------------------------------
    Fix Version/s: proton-c-0.21.0

> [C++ binding] cryptic error message when authentication fails
> -------------------------------------------------------------
>
>                 Key: PROTON-1473
>                 URL: https://issues.apache.org/jira/browse/PROTON-1473
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.17.0
>         Environment: Fedora 25
> Client: examples/cpp/helloworld
> Server: Dispatch router listener configured with authenticatePeer: yes and a suitable common sasl mechanism
>            Reporter: Chuck Rolke
>            Assignee: Cliff Jansen
>              Labels: sasl
>             Fix For: proton-c-0.21.0
>
>
> If you specify the URL with no credentials:
> {noformat}
> cpp> ./helloworld 192.168.0.16:5674/aaa
> amqp:connection:framing-error: AMQP header mismatch: Insufficient data to determine protocol [''] (connection aborted)
> {noformat}
> This error message is true in a strict sense but does not give a user much of a clue about what's wrong.
> The same setup with good URL credentials:
> {noformat}
> cpp> ./helloworld user:password@192.168.0.16:5674/aaa
> Hello World!
> {noformat}
> The same setup with bad URL credentials:
> {noformat}
> cpp> ./helloworld user:passwords@192.168.0.16:5674/aaa
> amqp:unauthorized-access: Authentication failed [mech=DIGEST-MD5]
> {noformat}
> This error message is good.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org