[ https://issues.apache.org/jira/browse/PROTON-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884137#comment-16884137 ]
ASF subversion and git services commented on PROTON-1473: --------------------------------------------------------- Commit 45dba0047dab66465e011a0b65d21af670772aa3 in qpid-proton's branch refs/heads/master from Andrew Stitcher [ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=45dba00 ] PROTON-1473: Better behaviour if peer disconnects in the middle of header exchange - Especially if the server disconnects the client because of authentication failure There is no more spurious 'Header mismatch' error. > [cpp] Cryptic error message when connection fails because server end requires > SASL > ---------------------------------------------------------------------------------- > > 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 > Priority: Major > Labels: sasl > > 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 (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org