You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by James Mansion <ja...@mansionfamily.plus.com> on 2009/03/16 21:32:27 UTC

Problem running tests/client_test

I have tried to run client_test from cpp/src/tests.

The client is being rejected because it is trying to use an empty
mechanism and the server wants 'ANONYMOUS' or 'PLAIN'.

2009-mar-16 08:13:38 notice Broker running
2009-mar-16 08:14:18 debug RECV [127.0.0.1:1716] INIT(0-10)
2009-mar-16 08:14:18 info SASL: Mechanism list: ANONYMOUS PLAIN
2009-mar-16 08:14:18 trace SENT 127.0.0.1:1716 INIT(0-10)
2009-mar-16 08:14:18 trace SENT [127.0.0.1:1716]: Frame[BEbe; channel=0; 
{ConnectionStartBody: 
server-properties={qpid.federation_tag:V2:36:str16(19f09716-9945-47c0-a136-a2acdc056dd1)}; 
mechanisms=str16{V2:9:str16(ANONYMOUS), V2:5:str16(PLAIN)}; 
locales=str16{V2:5:str16(en_US)}; }]
2009-mar-16 08:14:18 trace RECV [127.0.0.1:1716]: Frame[BEbe; channel=0; 
{ConnectionStartOkBody: 
client-properties={qpid.client_pid:F4:int32(7268),qpid.client_ppid:F4:int32(0),qpid.client_process:V2:0:str16(),qpid.session_flow:F4:int32(1)}; 
mechanism=; response=xxxxxx; locale=en_US; }]
2009-mar-16 08:14:18 info SASL: Starting authentication with mechanism:
2009-mar-16 08:14:18 debug Exception constructed: Unsupported mechanism
2009-mar-16 08:14:18 trace SENT [127.0.0.1:1716]: Frame[BEbe; channel=0; 
{ConnectionCloseBody: reply-code=320; reply-text=connection-forced: 
Unsupported mechanism; }]

This is with the VS solutions pretty much as-is, client and server on 
the same XP box, modulo fixing the build issues with WinSDK 7 and Boost 
1.38.

Looks clear-cut from the trace, but maybe its something I've done?

James


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


RE: Problem running tests/client_test

Posted by Steve Huston <sh...@riverace.com>.
You're right - the jira was mis-classified as a C++ broker issue when
it was a C++ client issue. There's no jira classification for C++
tests.

> -----Original Message-----
> From: James Mansion [mailto:james@mansionfamily.plus.com] 
> Sent: Monday, March 16, 2009 6:38 PM
> To: dev@qpid.apache.org
> Subject: Re: Problem running tests/client_test
> 
> 
> Steve Huston wrote:
> > Hi James,
> >
> > This is a known issue: 
> https://issues.apache.org/jira/browse/QPID-1733
> >
> > I'm working on a fix for it.
> >
> > Workaround is to start with broker with --auth no.
> >   
> OK, thanks.  Perhaps teh JIRA organisation could be improved? 
> - the Java 
> tests have a JIRA
> section and I looked for one for C++ - and I looked in the C++
client 
> since it seems that the
> empty response from the client is in error rather than the 
> list from the 
> broker.
> 
> Is teher a release note I've failed to read with this sort of 
> thing in it?
> 
> James
> 
> 
>
---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
> 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: Problem running tests/client_test

Posted by James Mansion <ja...@mansionfamily.plus.com>.
Steve Huston wrote:
> Hi James,
>
> This is a known issue: https://issues.apache.org/jira/browse/QPID-1733
>
> I'm working on a fix for it.
>
> Workaround is to start with broker with --auth no.
>   
OK, thanks.  Perhaps teh JIRA organisation could be improved? - the Java 
tests have a JIRA
section and I looked for one for C++ - and I looked in the C++ client 
since it seems that the
empty response from the client is in error rather than the list from the 
broker.

Is teher a release note I've failed to read with this sort of thing in it?

James


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


RE: Problem running tests/client_test

Posted by Steve Huston <sh...@riverace.com>.
Hi James,

This is a known issue: https://issues.apache.org/jira/browse/QPID-1733

I'm working on a fix for it.

Workaround is to start with broker with --auth no.

-Steve

--
Steve Huston, Riverace Corporation
Check out my networked programming blog at
http://stevehuston.wordpress.com/


> -----Original Message-----
> From: James Mansion [mailto:james@mansionfamily.plus.com] 
> Sent: Monday, March 16, 2009 4:32 PM
> To: dev@qpid.apache.org
> Subject: Problem running tests/client_test
> 
> 
> I have tried to run client_test from cpp/src/tests.
> 
> The client is being rejected because it is trying to use an empty
> mechanism and the server wants 'ANONYMOUS' or 'PLAIN'.
> 
> 2009-mar-16 08:13:38 notice Broker running
> 2009-mar-16 08:14:18 debug RECV [127.0.0.1:1716] INIT(0-10)
> 2009-mar-16 08:14:18 info SASL: Mechanism list: ANONYMOUS PLAIN
> 2009-mar-16 08:14:18 trace SENT 127.0.0.1:1716 INIT(0-10)
> 2009-mar-16 08:14:18 trace SENT [127.0.0.1:1716]: Frame[BEbe; 
> channel=0; 
> {ConnectionStartBody: 
> server-properties={qpid.federation_tag:V2:36:str16(19f09716-99
> 45-47c0-a136-a2acdc056dd1)}; 
> mechanisms=str16{V2:9:str16(ANONYMOUS), V2:5:str16(PLAIN)}; 
> locales=str16{V2:5:str16(en_US)}; }]
> 2009-mar-16 08:14:18 trace RECV [127.0.0.1:1716]: Frame[BEbe; 
> channel=0; 
> {ConnectionStartOkBody: 
> client-properties={qpid.client_pid:F4:int32(7268),qpid.client_
> ppid:F4:int32(0),qpid.client_process:V2:0:str16(),qpid.session
> _flow:F4:int32(1)}; 
> mechanism=; response=xxxxxx; locale=en_US; }]
> 2009-mar-16 08:14:18 info SASL: Starting authentication with 
> mechanism:
> 2009-mar-16 08:14:18 debug Exception constructed: Unsupported 
> mechanism
> 2009-mar-16 08:14:18 trace SENT [127.0.0.1:1716]: Frame[BEbe; 
> channel=0; 
> {ConnectionCloseBody: reply-code=320; reply-text=connection-forced: 
> Unsupported mechanism; }]
> 
> This is with the VS solutions pretty much as-is, client and server
on 
> the same XP box, modulo fixing the build issues with WinSDK 7 
> and Boost 
> 1.38.
> 
> Looks clear-cut from the trace, but maybe its something I've done?
> 
> James
> 
> 
>
---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
> 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org