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

Ankur5 C ankur5.c at tcs.com
Thu Jun 26 09:56:43 BST 2014


Hi ,

I am trying connect rabbit mq over ssl and using rabbit mq as an mqtt 
broker.

I am using PAHO client. I have configured ssl at the rabbitmq side as per 
http://www.rabbitmq.com/ssl.html.

Bu when I am trying to connect to the broker I am getting the following 
exception
.MqttException (0) - javax.net.ssl.SSLHandshakeException: Remote host 
closed connection during handshake
        at 
org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(
ExceptionHelper.java:34)
        at 
org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(
ClientComms.java:553)
        at java.lang.Thread.run(Thread.java:722)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed 
connection during handshake
        at sun.security.ssl.SSLSocketImpl.readRecord(
SSLSocketImpl.java:946)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(
SSLSocketImpl.java:1328)
        at sun.security.ssl.SSLSocketImpl.startHandshake(
SSLSocketImpl.java:1355)
        at sun.security.ssl.SSLSocketImpl.startHandshake(
SSLSocketImpl.java:1339)
        at org.eclipse.paho.client.mqttv3.internal.SSLNetworkModule.start(
SSLNetworkModule.java:84)
        at 
org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(
ClientComms.java:538)
        ... 1 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at sun.security.ssl.InputRecord.read(InputRecord.java:352)
        at sun.security.ssl.SSLSocketImpl.readRecord(
SSLSocketImpl.java:927)
        ... 6 more

Any help is appreciated.

Thanks and Regards,
Ankur Chakraborty


From:   Michael Klishin <mklishin at gopivotal.com>
To:     Ankur5 C <ankur5.c at tcs.com>, Discussions about RabbitMQ 
<rabbitmq-discuss at lists.rabbitmq.com>
Date:   25-06-2014 15:28
Subject:        Re: [rabbitmq-discuss] Unable to establish MQTT plugin in 
rabbitmq version : 3.1.3.



 On 25 June 2014 at 13:53:28, Ankur5 C (ankur5.c at tcs.com) wrote:
> > =INFO REPORT==== 25-Jun-2014(
http://airmail.calendar/2014-06-25%2012:00:00%20GMT+4)::12:57:48 
> ===
> Error description:
> {could_not_start,rabbitmq_mqtt,{badmatch,{error,shutdown}}} 
> 
> Please comment on this . I followed the same steps as mentioned 
> in http://www.rabbitmq.com/blog/2012/09/12/mqtt-adapter/. 
> 
> The only difference is the rabbitmq version . In the above link 
> it is mentioned version rabbitmq-server 2.8.6(
http://www.rabbitmq.com/download.html) 
> but I am using rabbitmq_server-3.1.3.

I suspect you tried installing the 2.8.6 plugin into 3.1.3 version. That 
won't work. 
There is no need to download the .ez file any more, simply enable the 
plugin 
and restart RabbitMQ. 

If you did download the 2.8.6 .ez file, remove it first. Then follow the 
docs: 
http://www.rabbitmq.com/mqtt.html 

Also, moving to 3.3.4 is not a bad idea ;) 
-- 
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/20140626/cf637a40/attachment.html>


More information about the rabbitmq-discuss mailing list