qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Error creating connection: The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker
Date Wed, 15 Dec 2010 12:47:00 GMT
On 12/15/2010 10:48 AM, junkmailxx@centrum.cz wrote:
> I am getting this:
>
> C:Program Filesapache-qpidc-0.8bin>qpidd --auth no --log-enable info+ --log-enable
trace+:amqp_0_10
> 2010-12-15 11:42:48 info Management enabled
> 2010-12-15 11:42:48 notice SASL disabled: No Authentication Performed
> 2010-12-15 11:42:48 info Policy file not specified. ACL Disabled, no ACL checking being
done!
> 2010-12-15 11:42:48 error Failed to initialise SSL listener: The credentials supplied
to the package were not recognized  (........cpps
> rcqpidbrokerwindowsSslProtocolFactory.cpp:177)
> 2010-12-15 11:42:48 notice Listening on TCP port 5672
> 5672
> 2010-12-15 11:42:48 notice Broker running
> 2010-12-15 11:42:53 trace SENT 127.0.0.1:1786 INIT(0-10)
> 2010-12-15 11:42:53 trace SENT [127.0.0.1:1786]: Frame[BEbe; channel=0; {ConnectionStartBody:
server-properties={qpid.federation_tag:V2:36:s
> tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)};
locales=str16{V2:5:str16(en_US)}; }]
>
>
> When I run it with the -t option, I get:
>
> 2010-12-15 11:45:56 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect
> 2010-12-15 11:46:01 debug RECV [127.0.0.1:1794] INIT(0-10)
> 2010-12-15 11:46:01 trace SENT 127.0.0.1:1794 INIT(0-10)
> 2010-12-15 11:46:01 trace SENT [127.0.0.1:1794]: Frame[BEbe; channel=0; {ConnectionStartBody:
server-properties={qpid.federation_tag:V2:36:s
> tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)};
locales=str16{V2:5:str16(en_US)}; }]
> 2010-12-15 11:46:01 debug DISCONNECTED [127.0.0.1:1794]
> 2010-12-15 11:46:01 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect
>
>
> Running qpidd 0.8 from from the Contributed C++ Package->  Windows Installer download
section on Windows XP.

Ok, as you can see the windows broker behaves slightly differently with 
--auth no, and only offers ANONYMOUS.

Unfortunately at present there is no implementation of that mechanism 
for java (either in the SunSASL provider or explicitly provided by 
Qpid). It would not be difficult to add I imagine.

Perhaps the behaviour of the windows broker in this regard has changed 
in 0.8, intentionally or otherwise(?). However I can't see any obvious 
change.

It would be an easy fix on the broker side (the handling of PLAIN is 
still there for the auth=no case, just need to advertise the mech).


Mime
View raw message