AMQClient.authenticate does not work with spec 0-9-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAMQP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I use the 0-9-1 version of the spec, the txamqp.
=ERROR REPORT==== 8-Mar-2012:
exception on TCP connection <0.8871.0> from 127.0.0.1:59871
{channel0_
{error,
If I directly use the start method with the LOGIN / PASSWORD dictionnary as in version 0.8, it connects fine.
Since the point of the authenticate() method is to wrap the start() method depending on the spec version, am I doing something wrong or is it a bug ?
Changed in txamqp: | |
status: | New → Fix Released |
just add 'PLAIN' auth mech to the authenticate() method call:
client. authenticate( username, password, mechanism='PLAIN')