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

Ankur5 C ankur5.c at tcs.com
Fri Jun 27 07:13:59 BST 2014


Hi,

In which port does MQTT ssl option listens in rabbitmq.

I have enabled ssl options in rabbit mq 3.3.1 . When I restart the broker 
I get the log message as .

=INFO REPORT==== 27-Jun-2014::11:49:52 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 27-Jun-2014::11:49:53 ===
started SSL Listener on [::]:5671

=INFO REPORT==== 27-Jun-2014::11:49:53 ===
started MQTT TCP Listener on [::]:1883

=INFO REPORT==== 27-Jun-2014::11:49:53 ===
Management plugin started. Port: 15672

=INFO REPORT==== 27-Jun-2014::11:49:53 ===
Statistics database started.

=INFO REPORT==== 27-Jun-2014::11:49:53 ===
Server startup complete; 7 plugins started.
 * amqp_client
 * mochiweb
 * rabbitmq_management
 * rabbitmq_management_agent
 * rabbitmq_mqtt
 * rabbitmq_web_dispatch
 * webmachine

I can connect to MQTT port 1883 over no SSL but I doubt how the MQTT ssl 
can be accessed ?

The ssl port registered for MQTT against rabbitmq is 8883 . 

Should not there be something in the log that MQTT ssl has started 
listening on port 8883?

Please clarify . Also please let me know how I can verify using a client 
by which one can connect rabbitmq MQTT ssl.

Thanks and Regards,
Ankur Chakraborty




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



+rabbitmq-discuss

On 26 June 2014 at 13:33:15, Ankur5 C (ankur5.c at tcs.com) wrote:
> > Thanx , I went through 
http://www.rabbitmq.com/troubleshooting-ssl.html. 
> 
> I executed openssl s_client -connect localhost:5671 -cert 
> client/cert.pem -key client/key.pem -CAfile testca/cacert.pem. 
> 
> Getting everything ok , no error .
> 
> But using the same set of certificates when I try to connect using 
> the PAHO client I get the following exception as found in the logs 
> .
> 
> ** Reason for termination ==
> ** {function_clause,[{rabbit_mqtt_frame,parse_utf,[<<1,0,149>>]}, 
> {rabbit_mqtt_frame,parse_frame,3},
> {rabbit_mqtt_reader,process_received_bytes,2},
> {gen_server2,handle_msg,2},
> {proc_lib,wake_up,3}]}
> 
> Please suggest on this.

Please try a different client. This may be a RabbitMQ issue but also
a Paho Java client one.
-- 
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/85c6bbfd/attachment.html>


More information about the rabbitmq-discuss mailing list