[
https://issues.apache.org/jira/browse/PROTON-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002374#comment-14002374
]
Andrew Stitcher commented on PROTON-562:
----------------------------------------
If there is nothing listening on the port yo also get "SASL header mismatch"
which think is probably even more misleading - perhaps actually wrong:
{noformat}
$ msgr-send -c 1
[0x215c8e0]: -> SASL
[0x215c8e0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b""]
recv: Connection refused
[0x215c8e0]:ERROR[-2] SASL header mismatch: ''
[0x215c8e0]: <- EOS
CONNECTION ERROR connection aborted (remote)
send: Broken pipe
Messages sent: 1 recv: 0
Total time: 0.001000 sec
Throughput: 1000.000000 msgs/sec
Latency (sec): 0.000000 min 0.000000 max 0.000000 avg
{noformat}
> More gracefully handle connections to non-1.0 parties
> -----------------------------------------------------
>
> Key: PROTON-562
> URL: https://issues.apache.org/jira/browse/PROTON-562
> Project: Qpid Proton
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Justin Ross
> Assignee: Andrew Stitcher
> Priority: Minor
>
> Right now, attempting a connection from messenger to a 0-10 only qpidd
> results in a "SASL header mismatch". That's correct but less helpful than it
> might be.
> {noformat}
> jross@localhost bailey$ LD_LIBRARY_PATH=/tmp/tmp.mXaVrrHF8a/lib64
> PYTHONPATH=/tmp/tmp.mXaVrrHF8a/lib64/proton/bindings/python/ PN_TRACE_FRM=1
> python ~/test.py
> [0x2418e30]: -> SASL
> [0x2418e30]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b""]
> [0x2418e30]:ERROR[-2] SASL header mismatch: 'AMQP\x01\x01\x00\x0a'
>
> [0x2418e30]: <- EOS
> [0x2418e30]:ERROR[-2] SASL header mismatch: ''
>
> [0x2418e30]: <- EOS
> CONNECTION ERROR connection aborted (remote)
> {noformat}
> See
> https://issues.apache.org/jira/browse/PROTON-561?focusedCommentId=13966905&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13966905
--
This message was sent by Atlassian JIRA
(v6.2#6252)