[rabbitmq-discuss] Unable to establish MQTT plugin in rabbitmq version : 3.1.3.

Ankur5 C ankur5.c at tcs.com
Fri Jun 27 10:26:13 BST 2014


I have used Paho java client.

I have built a sample java project and is trying to connect .

MqttClient client = new MqttClient("ssl://192.168.161.208:8883", 
"rabbitmq");

                        MqttConnectOptions options = new 
MqttConnectOptions();
                        options.setConnectionTimeout(60);
                        options.setKeepAliveInterval(60);
 
                        options.setSocketFactory(SslUtil.getSocketFactory(
"C:/Users/397886/Desktop/HBase/workspacetrunk/TestMQTT/certificates/cacert.pem"
,
                                        
"C:/Users/397886/Desktop/HBase/workspacetrunk/TestMQTT/certificates/cert.pem"
, 
                                        
"C:/Users/397886/Desktop/HBase/workspacetrunk/TestMQTT/certificates/key.pem"
, "MySecretPassword"));


                        client.connect(options);




Thanks and Regards,
Ankur Chakraborty



From:   Michael Klishin <mklishin at gopivotal.com>
To:     Ankur5 C <ankur5.c at tcs.com>
Cc:     rabbitmq-discuss at lists.rabbitmq.com
Date:   27-06-2014 14:50
Subject:        Re: [rabbitmq-discuss] Unable to establish MQTT plugin in 
rabbitmq version : 3.1.3.



 On 27 June 2014 at 13:16:09, Ankur5 C (ankur5.c at tcs.com) wrote:
> > ** Reason for termination ==
> ** {{badmatch,{error,{ssl_upgrade_error,timeout}}},
> [{rabbit_mqtt_reader,handle_call,3},
> {gen_server2,handle_msg,2},
> {proc_lib,init_p_do_apply,3}]}
> 
> Is this due to any network related issues ? or anything else?

SSL upgrade never finished because (a guess) the client wasn't
actually configured to use SSL.

How did you configure the client?
-- 
MK 

Staff Software Engineer, Pivotal/RabbitMQ

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140627/52f0a5c8/attachment.html>


More information about the rabbitmq-discuss mailing list