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

Justin Ross reassigned PROTON-1473:
-----------------------------------

    Assignee: Andrew Stitcher  (was: Cliff Jansen)

> [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: Andrew Stitcher
>              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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to