[rabbitmq-discuss] MQTT cannot connect client

tom collins tom.collins.work at gmail.com
Mon Dec 30 18:58:01 GMT 2013


I'm having timeout issues connecting clients and I'm stumped. I’m doubting
it’s a bug but I have no idea how to get around the problem without
restarting RMQ every time it occurs.

I'm working on an Android app using MQTT, which at times does not close
cleanly meaning it doesn't disconnect. The application restarts and seems
to connect on a new connection (clean session set to false, is this correct
behaviour?) which can be seen in the management interface and the client
connection is made successfully.

However after about five cycles (The amount of times seems to differ) of
the client abruptly closing and connecting RMQ seems to hang and does not
respond to any client connection. The MQTT client attempts to connect,
appears in the management interface connections but does not respond
meaning the client times out(or waits for the response if a timeout isn't

Heartbeats are configured so I'm assuming this should disconnect the old
client connections but for some reason it isn't...

I’ve checked the logs (Displaying all levels) and nothing stands out. There
was a  reoccurring error which seemed to be my closest lead but I haven’t
seen it (See below for log) for at least a week and even though the problem
still occurs, I still have no inkling as to why this error was occurring.

=SUPERVISOR REPORT==== 23-Dec-2013::19:04:14 ===

     Supervisor: {<0.6080.0>,amqp_connection_sup}

     Context:    shutdown

     Reason:     reached_max_restart_intensity

     Offender:   [{pid,<0.6082.0>},







                               'rabbit at -----------,






                                   <<"---------------:57632 ->






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131230/4be46543/attachment.html>

More information about the rabbitmq-discuss mailing list