AnsweredAssumed Answered

Setting Up Stand-Alone Cloud, MQTT question

Question asked by Felix Heimes on Aug 21, 2018
Latest reply on Aug 22, 2018 by Felix Heimes

The Cloud Service Setup Guide indicates to install RabbitMQ version 3.6.1.  I was not able to get that version and instead installed version 3.6.15.

I was having trouble connecting and found that my version of RabbitMQ appears to be using port 5672 instead of port 1883 as shown in the NXP documentation.  The contents of /etc/rabbitmq/rabbitmq-env.conf are as follows:

If I enter the command 'rabbitmqctl status' I get the following (just showing relevant part that indicates 5672)"

I therefore changed 'messageBrokerConfiguration.js' to refer to port 5672.

After doing that, the NodeJS program repeatedly reports "MQTT Connection Closed" and the MQTT log file in '/var/log/rabbitmq' shows the following error:

Any idea what the "bad_header" problem refers to?  Any suggestions.


Thanks in advance.  By the way, this is a really impressive system.

Outcomes