I am sorry, but I have to revoke my previous post. I just realized that the
working setup is not really working. Without any other changes, the client
either succeeds or not. Here you can see that a message is published
successfully after four unsuccessful attempts:

*$ PN_TRACE_FRM=1 ./sender.py*
Sending to {u'target': u'myFanoutExchange', u'context':
u'amqp://10.0.2.4:5672'}
[0x867efe0]:  -> SASL
[0x867efe0]:  <- SASL
[0x867efe0]:0 <- @sasl-mechanisms(64)
[sasl-server-mechanisms=@PN_SYMBOL[:"DIGEST-MD5", :"CRAM-MD5", :PLAIN]]
[0x867efe0]:0 -> @sasl-init(65) [mechanism=:"DIGEST-MD5"]
[0x867efe0]:0 <- @sasl-challenge(66)
[challenge=b"nonce="8V2Yscqg4cxIaNeybj4Hj/cvq6xqzzeYRNwRzSfRW8E=",realm="QPID",qop="auth,auth-int,auth-conf",cipher="rc4-40,rc4-56,rc4,des,3des",maxbuf=65535,charset=utf-8,algorithm=md5-sess"]
[0x867efe0]:0 -> @sasl-response(67)
[response=b"username="myUser",realm="QPID",nonce="8V2Yscqg4cxIaNeybj4Hj/cvq6xqzzeYRNwRzSfRW8E=",cnonce="1Xxbko95rQkLQA8BUQe6hwpq/IO2O5vjG8eriaAhqSw=",nc=00000001,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=2aa794113af45550f23569fa7cd1acb2"]
[0x867efe0]:0 <- @sasl-challenge(66)
[challenge=b"rspauth=2e539c68e8b599f690cfbf21b4b0851e"]
[0x867efe0]:0 -> @sasl-response(67) [response=b""]
[0x867efe0]:0 <- @sasl-outcome(68) [code=0]
[0x867efe0]:  <- EOS
[0x867efe0]:  -> EOS
*ERROR:root:amqp:connection:framing-error: AMQP header mismatch: Unknown
protocol
['\x00\x00\x00\x18\xd4}\xe0\x07J%.\xe5\x0a:/\x9e\x91\x11G0e\x94\x00\x01\x00\x00\x00\x00']*
[0x8697058]:  -> SASL
[0x8697058]:  <- SASL
[0x8697058]:0 <- @sasl-mechanisms(64)
[sasl-server-mechanisms=@PN_SYMBOL[:"DIGEST-MD5", :"CRAM-MD5", :PLAIN]]
[0x8697058]:0 -> @sasl-init(65) [mechanism=:"DIGEST-MD5",
initial-response=b"username="myUser",realm="QPID",nonce="8V2Yscqg4cxIaNeybj4Hj/cvq6xqzzeYRNwRzSfRW8E=",cnonce="1Xxbko95rQkLQA8BUQe6hwpq/IO2O5vjG8eriaAhqSw=",nc=00000002,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=69a35346236bb4036d7144f9aa68d427"]
[0x8697058]:0 <- @sasl-challenge(66)
[challenge=b"nonce="Mhex/w3+KdqPCVwI0SPlsanyZas9LchwvREzVaJMPQw=",realm="QPID",qop="auth,auth-int,auth-conf",cipher="rc4-40,rc4-56,rc4,des,3des",maxbuf=65535,charset=utf-8,algorithm=md5-sess"]
[0x8697058]:0 -> @sasl-response(67)
[response=b"username="myUser",realm="QPID",nonce="Mhex/w3+KdqPCVwI0SPlsanyZas9LchwvREzVaJMPQw=",cnonce="DXbw3O5HjbM+lN+0WwjGjHdpvBtIC6Y3GQa4orS0eME=",nc=00000001,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=08cdfa52654b46f9615a70574e4b5db4"]
[0x8697058]:0 <- @sasl-challenge(66)
[challenge=b"rspauth=32345aa4535686b2187039d072c56b6f"]
[0x8697058]:0 -> @sasl-response(67) [response=b""]
[0x8697058]:0 <- @sasl-outcome(68) [code=0]
[0x8697058]:  <- EOS
[0x8697058]:  -> EOS
*ERROR:root:amqp:connection:framing-error: AMQP header mismatch: Unknown
protocol
['\x00\x00\x00\x18m\xdfO;y\x0c\xfa]\xb7\x81\xf3{\xe4?\xc5\xecc\xac\x00\x01\x00\x00\x00\x00']*
[0x869c498]:  -> SASL
[0x869c498]:  <- SASL
[0x869c498]:0 <- @sasl-mechanisms(64)
[sasl-server-mechanisms=@PN_SYMBOL[:"DIGEST-MD5", :"CRAM-MD5", :PLAIN]]
[0x869c498]:0 -> @sasl-init(65) [mechanism=:"DIGEST-MD5",
initial-response=b"username="myUser",realm="QPID",nonce="Mhex/w3+KdqPCVwI0SPlsanyZas9LchwvREzVaJMPQw=",cnonce="DXbw3O5HjbM+lN+0WwjGjHdpvBtIC6Y3GQa4orS0eME=",nc=00000002,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=06aae08e406fb4fede24ee27755c2ce6"]
[0x869c498]:0 <- @sasl-challenge(66)
[challenge=b"nonce="tTsv2bhBpIQ+1hzBziv/iQMe9eaJQ1FPel5kBl2G8DY=",realm="QPID",qop="auth,auth-int,auth-conf",cipher="rc4-40,rc4-56,rc4,des,3des",maxbuf=65535,charset=utf-8,algorithm=md5-sess"]
[0x869c498]:0 -> @sasl-response(67)
[response=b"username="myUser",realm="QPID",nonce="tTsv2bhBpIQ+1hzBziv/iQMe9eaJQ1FPel5kBl2G8DY=",cnonce="BWuORcLvHBjZi4iC0aDNvRcTS2lHQ5hvSv4Vfi6PunE=",nc=00000001,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=3ebe110bbdae3058ffa6da3c440d1f16"]
[0x869c498]:0 <- @sasl-challenge(66)
[challenge=b"rspauth=90ae37b6a23158ff70f0b91089514645"]
[0x869c498]:0 -> @sasl-response(67) [response=b""]
[0x869c498]:0 <- @sasl-outcome(68) [code=0]
[0x869c498]:  <- EOS
[0x869c498]:  -> EOS
*ERROR:root:amqp:connection:framing-error: AMQP header mismatch: Unknown
protocol
['\x00\x00\x00\x18\xa3g\x08\xb0\xe8^\x87\x1a\x01\x86i\x1f\xde~\xa4\xf0\xd1\x02\x00\x01\x00\x00\x00\x00']*
[0x867f298]:  -> SASL
[0x867f298]:  <- SASL
[0x867f298]:0 <- @sasl-mechanisms(64)
[sasl-server-mechanisms=@PN_SYMBOL[:"DIGEST-MD5", :"CRAM-MD5", :PLAIN]]
[0x867f298]:0 -> @sasl-init(65) [mechanism=:"DIGEST-MD5",
initial-response=b"username="myUser",realm="QPID",nonce="tTsv2bhBpIQ+1hzBziv/iQMe9eaJQ1FPel5kBl2G8DY=",cnonce="BWuORcLvHBjZi4iC0aDNvRcTS2lHQ5hvSv4Vfi6PunE=",nc=00000002,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=07cfa04e48ae113304a93fc5c0b65ee0"]
[0x867f298]:0 <- @sasl-challenge(66)
[challenge=b"nonce="dHDa2spxiS8OxrXVCNj+RxatXL2bt63Mf6Qm2vcuhHs=",realm="QPID",qop="auth,auth-int,auth-conf",cipher="rc4-40,rc4-56,rc4,des,3des",maxbuf=65535,charset=utf-8,algorithm=md5-sess"]
[0x867f298]:0 -> @sasl-response(67)
[response=b"username="myUser",realm="QPID",nonce="dHDa2spxiS8OxrXVCNj+RxatXL2bt63Mf6Qm2vcuhHs=",cnonce="zaRwWUrr30oHtnZJGTZ0OVhhj7IN6jhKwkNkEx/VboQ=",nc=00000001,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=4e810108bd4c8d39b3dd11813e87d482"]
[0x867f298]:0 <- @sasl-challenge(66)
[challenge=b"rspauth=972e1ddd3de8cbab59f2978f9a4345d9"]
[0x867f298]:0 -> @sasl-response(67) [response=b""]
[0x867f298]:0 <- @sasl-outcome(68) [code=0]
[0x867f298]:  <- EOS
[0x867f298]:  -> EOS
*ERROR:root:amqp:connection:framing-error: AMQP header mismatch: Unknown
protocol
['\x00\x00\x00\x18;gSoh\x00\xef\xc5\xd5\xd3\x91|y\x06|^<\xde\x00\x01\x00\x00\x00\x00']*
[0x867ff70]:  -> SASL
[0x867ff70]:  <- SASL
[0x867ff70]:0 <- @sasl-mechanisms(64)
[sasl-server-mechanisms=@PN_SYMBOL[:"DIGEST-MD5", :"CRAM-MD5", :PLAIN]]
[0x867ff70]:0 -> @sasl-init(65) [mechanism=:"DIGEST-MD5",
initial-response=b"username="myUser",realm="QPID",nonce="dHDa2spxiS8OxrXVCNj+RxatXL2bt63Mf6Qm2vcuhHs=",cnonce="zaRwWUrr30oHtnZJGTZ0OVhhj7IN6jhKwkNkEx/VboQ=",nc=00000002,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=c0b068aba5676e05e397a76d6979c3ac"]
[0x867ff70]:0 <- @sasl-challenge(66)
[challenge=b"nonce="Wfeti/jpbdg9NVRKv4vO+RnqwmDBarDzm4utWnTjwrY=",realm="QPID",qop="auth,auth-int,auth-conf",cipher="rc4-40,rc4-56,rc4,des,3des",maxbuf=65535,charset=utf-8,algorithm=md5-sess"]
[0x867ff70]:0 -> @sasl-response(67)
[response=b"username="myUser",realm="QPID",nonce="Wfeti/jpbdg9NVRKv4vO+RnqwmDBarDzm4utWnTjwrY=",cnonce="Xcwij45kisdpO6dWSTXYkVmTIm7nleXKpCvZrc2aYw8=",nc=00000001,qop=auth-conf,cipher=rc4,maxbuf=32768,digest-uri="amqp/10.0.2.4",response=2a2530760ea7a40396947e7140ad3e55"]
[0x867ff70]:0 <- @sasl-challenge(66)
[challenge=b"rspauth=fffe977f3e3601efdf90a6825c45891f"]
[0x867ff70]:0 -> @sasl-response(67) [response=b""]
[0x867ff70]:0 <- @sasl-outcome(68) [code=0]
*[0x867ff70]:  -> AMQP
[0x867ff70]:0 -> @open(16)
[container-id="a8255dea-c258-40da-9ee8-993c225f3ffe", hostname="10.0.2.4",
channel-max=32767]
[0x867ff70]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647,
outgoing-window=2147483647]
[0x867ff70]:0 -> @attach(18)
[name="a8255dea-c258-40da-9ee8-993c225f3ffe-myFanoutExchange", handle=0,
role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40)
[durable=0, timeout=0, dynamic=false], target=@target(41)
[address="myFanoutExchange", durable=0, timeout=0, dynamic=false],
initial-delivery-count=0, max-message-size=0]
[0x867ff70]:  <- AMQP
[0x867ff70]:0 <- @open(16)
[container-id="92b7d083-5c67-4ad5-b8c5-c8e252ed621c", channel-max=32767,
offered-capabilities=@PN_SYMBOL[:"ANONYMOUS-RELAY"],
properties={:product="qpid-cpp", :version="1.36.0", :platform="Linux",
:host="debian"}]
[0x867ff70]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0,
incoming-window=2147483647, outgoing-window=2147483647]
[0x867ff70]:0 <- @attach(18)
[name="a8255dea-c258-40da-9ee8-993c225f3ffe-myFanoutExchange", handle=0,
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40)
[durable=0, timeout=0, dynamic=false], target=@target(41)
[address="myFanoutExchange", durable=0, timeout=0, dynamic=false],
initial-delivery-count=0, max-message-size=0]
[0x867ff70]:0 <- @flow(19) [next-incoming-id=0, incoming-window=2147483647,
next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0,
link-credit=500, drain=false]
sending 1. message
[0x867ff70]:0 -> @transfer(20) [handle=0, delivery-id=0, delivery-tag=b"1",
message-format=0, settled=false, more=false] (90)
"\x00Sp\xd0\x00\x00\x00\x0b\x00\x00\x00\x05AP\x04@BR\x00\x00Ss\xd0\x00\x00\x00'\x00\x00\x00\x0dS\x01@@\xa1\x03key@@@@\x83\x00\x00\x00\x00\x00\x00\x00\x00\x83\x00\x00\x00\x00\x00\x00\x00\x00@R\x00@\x00Sw\xd1\x00\x00\x00\x10\x00\x00\x00\x02\xa1\x08sequenceT\x01"
[0x867ff70]:0 <- @flow(19) [next-incoming-id=1, incoming-window=2147483647,
next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=1,
link-credit=500, drain=false]
[0x867ff70]:0 <- @disposition(21) [role=true, first=0, last=0, settled=true,
state=@accepted(36) []]*
all messages confirmed
[0x867ff70]:0 -> @close(24) []
[0x867ff70]:  -> EOS
[0x867ff70]:0 <- @close(24) []
[0x867ff70]:  <- EOS




--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Qpid-C-1-36-issues-an-invalid-AMQP-1-0-frame-after-successful-DIGEST-MD5-authentication-tp7657354p7657521.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to