← Back to team overview

mqtt-users team mailing list archive

Mosquitto not recognizing to messages coming from Arduino

 

Hi,

I am working on a small project using Nick O'Leary's MQTT client for the
Adruino.

I was using Mosquitto broker running on Ubuntu Maverick (and the
same behavior was reproduced using Lucid), but it never seemed to recognize
the MQTT messages coming from the Adruino board. I suspected iptables might
be blocking the traffic, but shutting down this service didn't solve the
problem. Wireshark showed some traffic coming from the Adruino's IP address
directed at port 1883, but subscribing to the topic using mosquitto_sub
didn't show any messages being received.

I then shutdown the mosquitto service and launched the RSMB server instead
and the application worked fine.

I did a little bit more investigating and it seems that the Mosquitto broker
won't register any messages coming from another machine either using
mosquitto_pub command or using a test program I wrote using the IA92 Java
client

Does anyone have any ideas what could be wrong? I didn't edit any of the
default configuration files from the defaults which came with the install
from the PPA archive

Regards,
             Brian
http://www.brianodonovan.ie