You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Joan Bellver Faus <jb...@dsic.upv.es> on 2010/02/12 16:05:38 UTC

someone has been communicating a java client with a c++ broker in the port ssl?

Hello, someone has been communicating a java client with a c++ broker   
in the port ssl? I can't get it,but I get the following error : error  
could not accept socket: Failed: Unknown NSS error code. [-5938]

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Joan Bellver Faus <jb...@dsic.upv.es>.
Hello, I've solved the problem, the version 0.5 that I used for the  
java client does not work, downloaded the Qpid M4 release and works  
perfect for both server authentication and client.

The version 0.5 is more recent than the M4?

Greetings.



Quoting Rajith Attapattu <ra...@gmail.com>:

> The 0.5 version should work.
> by trunk version I meant if you built the client from source (from  
> the trunk).
>
> Could you run your client with -Djavax.net.debug=ssl and see if you
> get any errors?
> If you do please paste them in an email and send to the list.
>
> On Fri, Feb 12, 2010 at 11:14 AM, Joan Bellver Faus
> <jb...@dsic.upv.es> wrote:
>>
>>
>>
>>
>> Quoting Rajith Attapattu <ra...@gmail.com>:
>>
>>> May I know what version you are using? 0.5, 0.6 or trunk?
>>> If you are using trunk I advice you to update and build again as there
>>> was a bug and I fixed it yesterday !
>>>
>> I used the 0.5 version for the client and the broker. What do you mean with
>> the trunk version?
>>
>>> Rajith
>>>
>>> On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus
>>> <jb...@dsic.upv.es> wrote:
>>>>
>>>> Hello, someone has been communicating a java client with a c++ broker  in
>>>> the port ssl? I can't get it,but I get the following error : error could
>>>> not
>>>> accept socket: Failed: Unknown NSS error code. [-5938]
>>>>
>>>> ----------------------------------------------------------------
>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> Apache Qpid - AMQP Messaging Implementation
>>>> Project:      http://qpid.apache.org
>>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Rajith Attapattu
>>> Red Hat
>>> http://rajith.2rlabs.com/
>>>
>>> ---------------------------------------------------------------------
>>> Apache Qpid - AMQP Messaging Implementation
>>> Project:      http://qpid.apache.org
>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>
>>>
>>
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
>
>
> --
> Regards,
>
> Rajith Attapattu
> Red Hat
> http://rajith.2rlabs.com/
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Rajith Attapattu <ra...@gmail.com>.
Hi Joan,

Sorry about the late response. It was a long weekend (with monday
being off) so I was away from the computer for the whole weekend.
The 0.5 release is newer than the M4 release.
Thanks for the investigation, it appears there is a bug in the 0.5 release.
I will also have a look at this.

Regards,

Rajith

On Mon, Feb 15, 2010 at 12:59 PM, Joan Bellver Faus
<jb...@dsic.upv.es> wrote:
>
>
> Rajith, if I put the library Qpid-common-0.5 ssl does not work, but if I put
> the Qpid-common-M4 works perfect, you know that this can occur?
>
> Quoting Rajith Attapattu <ra...@gmail.com>:
>
>> The 0.5 version should work.
>> by trunk version I meant if you built the client from source (from the
>> trunk).
>>
>> Could you run your client with -Djavax.net.debug=ssl and see if you
>> get any errors?
>> If you do please paste them in an email and send to the list.
>>
>> On Fri, Feb 12, 2010 at 11:14 AM, Joan Bellver Faus
>> <jb...@dsic.upv.es> wrote:
>>>
>>>
>>>
>>>
>>> Quoting Rajith Attapattu <ra...@gmail.com>:
>>>
>>>> May I know what version you are using? 0.5, 0.6 or trunk?
>>>> If you are using trunk I advice you to update and build again as there
>>>> was a bug and I fixed it yesterday !
>>>>
>>> I used the 0.5 version for the client and the broker. What do you mean
>>> with
>>> the trunk version?
>>>
>>>> Rajith
>>>>
>>>> On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus
>>>> <jb...@dsic.upv.es> wrote:
>>>>>
>>>>> Hello, someone has been communicating a java client with a c++ broker
>>>>>  in
>>>>> the port ssl? I can't get it,but I get the following error : error
>>>>> could
>>>>> not
>>>>> accept socket: Failed: Unknown NSS error code. [-5938]
>>>>>
>>>>> ----------------------------------------------------------------
>>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> Apache Qpid - AMQP Messaging Implementation
>>>>> Project:      http://qpid.apache.org
>>>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Rajith Attapattu
>>>> Red Hat
>>>> http://rajith.2rlabs.com/
>>>>
>>>> ---------------------------------------------------------------------
>>>> Apache Qpid - AMQP Messaging Implementation
>>>> Project:      http://qpid.apache.org
>>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> ----------------------------------------------------------------
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> Apache Qpid - AMQP Messaging Implementation
>>> Project:      http://qpid.apache.org
>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Rajith Attapattu
>> Red Hat
>> http://rajith.2rlabs.com/
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>



-- 
Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Joan Bellver Faus <jb...@dsic.upv.es>.

Rajith, if I put the library Qpid-common-0.5 ssl does not work, but if  
I put the Qpid-common-M4 works perfect, you know that this can occur?

Quoting Rajith Attapattu <ra...@gmail.com>:

> The 0.5 version should work.
> by trunk version I meant if you built the client from source (from  
> the trunk).
>
> Could you run your client with -Djavax.net.debug=ssl and see if you
> get any errors?
> If you do please paste them in an email and send to the list.
>
> On Fri, Feb 12, 2010 at 11:14 AM, Joan Bellver Faus
> <jb...@dsic.upv.es> wrote:
>>
>>
>>
>>
>> Quoting Rajith Attapattu <ra...@gmail.com>:
>>
>>> May I know what version you are using? 0.5, 0.6 or trunk?
>>> If you are using trunk I advice you to update and build again as there
>>> was a bug and I fixed it yesterday !
>>>
>> I used the 0.5 version for the client and the broker. What do you mean with
>> the trunk version?
>>
>>> Rajith
>>>
>>> On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus
>>> <jb...@dsic.upv.es> wrote:
>>>>
>>>> Hello, someone has been communicating a java client with a c++ broker  in
>>>> the port ssl? I can't get it,but I get the following error : error could
>>>> not
>>>> accept socket: Failed: Unknown NSS error code. [-5938]
>>>>
>>>> ----------------------------------------------------------------
>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> Apache Qpid - AMQP Messaging Implementation
>>>> Project:      http://qpid.apache.org
>>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Rajith Attapattu
>>> Red Hat
>>> http://rajith.2rlabs.com/
>>>
>>> ---------------------------------------------------------------------
>>> Apache Qpid - AMQP Messaging Implementation
>>> Project:      http://qpid.apache.org
>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>
>>>
>>
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
>
>
> --
> Regards,
>
> Rajith Attapattu
> Red Hat
> http://rajith.2rlabs.com/
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Joan Bellver Faus <jb...@dsic.upv.es>.
Quoting Rajith Attapattu <ra...@gmail.com>:

> The 0.5 version should work.
> by trunk version I meant if you built the client from source (from  
> the trunk).
>
> Could you run your client with -Djavax.net.debug=ssl and see if you
> get any errors?
> If you do please paste them in an email and send to the list.
>


yes, i have run my client with -Djavax.net.debug=ssl, but not i get  
more information, in part of the cliente comes a timeout and in the  
broker
the same error that i have said before (Could not accept socket:  
Failed: Unknown NSS error code. [-5938]
(qpid/sys/ssl/SslSocket.cpp:123).

But i think that my problem is that i do not catch correctly the  
arguments of the JVM, i can explain exactly as running a client?


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Rajith Attapattu <ra...@gmail.com>.
The 0.5 version should work.
by trunk version I meant if you built the client from source (from the trunk).

Could you run your client with -Djavax.net.debug=ssl and see if you
get any errors?
If you do please paste them in an email and send to the list.

On Fri, Feb 12, 2010 at 11:14 AM, Joan Bellver Faus
<jb...@dsic.upv.es> wrote:
>
>
>
>
> Quoting Rajith Attapattu <ra...@gmail.com>:
>
>> May I know what version you are using? 0.5, 0.6 or trunk?
>> If you are using trunk I advice you to update and build again as there
>> was a bug and I fixed it yesterday !
>>
> I used the 0.5 version for the client and the broker. What do you mean with
> the trunk version?
>
>> Rajith
>>
>> On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus
>> <jb...@dsic.upv.es> wrote:
>>>
>>> Hello, someone has been communicating a java client with a c++ broker  in
>>> the port ssl? I can't get it,but I get the following error : error could
>>> not
>>> accept socket: Failed: Unknown NSS error code. [-5938]
>>>
>>> ----------------------------------------------------------------
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> Apache Qpid - AMQP Messaging Implementation
>>> Project:      http://qpid.apache.org
>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Rajith Attapattu
>> Red Hat
>> http://rajith.2rlabs.com/
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>



-- 
Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Joan Bellver Faus <jb...@dsic.upv.es>.



Quoting Rajith Attapattu <ra...@gmail.com>:

> May I know what version you are using? 0.5, 0.6 or trunk?
> If you are using trunk I advice you to update and build again as there
> was a bug and I fixed it yesterday !
>
I used the 0.5 version for the client and the broker. What do you mean  
with the trunk version?

> Rajith
>
> On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus
> <jb...@dsic.upv.es> wrote:
>> Hello, someone has been communicating a java client with a c++ broker  in
>> the port ssl? I can't get it,but I get the following error : error could not
>> accept socket: Failed: Unknown NSS error code. [-5938]
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
>
>
> --
> Regards,
>
> Rajith Attapattu
> Red Hat
> http://rajith.2rlabs.com/
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Rajith Attapattu <ra...@gmail.com>.
Also make sure to add -Djavax.net.debug=ssl to your command line.  It
usually gives enough debug info to pin point an error.

Rajith

On Fri, Feb 12, 2010 at 10:46 AM, Rajith Attapattu <ra...@gmail.com> wrote:
> May I know what version you are using? 0.5, 0.6 or trunk?
> If you are using trunk I advice you to update and build again as there
> was a bug and I fixed it yesterday !
>
> Rajith
>
> On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus
> <jb...@dsic.upv.es> wrote:
>> Hello, someone has been communicating a java client with a c++ broker  in
>> the port ssl? I can't get it,but I get the following error : error could not
>> accept socket: Failed: Unknown NSS error code. [-5938]
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
>
>
> --
> Regards,
>
> Rajith Attapattu
> Red Hat
> http://rajith.2rlabs.com/
>



-- 
Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

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


Re: someone has been communicating a java client with a c++ broker in the port ssl?

Posted by Rajith Attapattu <ra...@gmail.com>.
May I know what version you are using? 0.5, 0.6 or trunk?
If you are using trunk I advice you to update and build again as there
was a bug and I fixed it yesterday !

Rajith

On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus
<jb...@dsic.upv.es> wrote:
> Hello, someone has been communicating a java client with a c++ broker  in
> the port ssl? I can't get it,but I get the following error : error could not
> accept socket: Failed: Unknown NSS error code. [-5938]
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>



-- 
Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

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