[EDIT] Solved Post#9
Hi,
I've been working with MQTT for about 2 months now. I'm using jMQTT on 5 raspberry pi. 1 windows machine is both a MQTT client and the jMQTTBroker. Every client is connected directly by cable to the router.
Everything works quite well when I have only 2-3 raspberry pi ON, but when I turn ON all 5 of them, I run into many problems.
Problems I encounter:
- clients disconnect and reconnect themselves sometimes
- broker drops connection with some of the clients
- some clients try to connect indefinitely until I restart the broker
- clients disconnect themselves permanently until reboot RPI
Many error messages on the broker side (with QOS = 1):
My broker has a fixed IP address. For the raspberry pi, I tested both having a fixed, and DHCP assigned IP address. I tested with QOS 1, 2, but get same behavior.
I was wondering how reliable is MQTT? Should I switch to a jServer solution or sockets instead? Have any of you run into problems with MQTT?
Thank you
Jmon.
Hi,
I've been working with MQTT for about 2 months now. I'm using jMQTT on 5 raspberry pi. 1 windows machine is both a MQTT client and the jMQTTBroker. Every client is connected directly by cable to the router.
Everything works quite well when I have only 2-3 raspberry pi ON, but when I turn ON all 5 of them, I run into many problems.
Problems I encounter:
- clients disconnect and reconnect themselves sometimes
- broker drops connection with some of the clients
- some clients try to connect indefinitely until I restart the broker
- clients disconnect themselves permanently until reboot RPI
Many error messages on the broker side (with QOS = 1):
some other error messages (red colored) I forgot to copy.Serious error processing the message org.eclipse.moquette.proto.messages.PubAckMessage@e26484 for session [clientID: 5]org.eclipse.moquette.server.netty.NettyChannel@8e99d7
My broker has a fixed IP address. For the raspberry pi, I tested both having a fixed, and DHCP assigned IP address. I tested with QOS 1, 2, but get same behavior.
I was wondering how reliable is MQTT? Should I switch to a jServer solution or sockets instead? Have any of you run into problems with MQTT?
Thank you
Jmon.
Last edited: