<div dir="ltr"><p class="MsoNormal" style="margin-bottom:0.0001pt">Hi, </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">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.</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">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.</p><p class="MsoNormal" style="margin-bottom:0.0001pt"><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt">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 specified).</p><p class="MsoNormal" style="margin-bottom:0.0001pt">

<br></p><p class="MsoNormal" style="margin-bottom:0.0001pt">Heartbeats are configured so I'm assuming this should disconnect the old client connections but for some reason it isn't...</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">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.</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">=SUPERVISOR
REPORT==== 23-Dec-2013::19:04:14 ===</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">     Supervisor:
{<0.6080.0>,amqp_connection_sup}</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">     Context:   
shutdown</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">     Reason:    
reached_max_restart_intensity</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">     Offender:  
[{pid,<0.6082.0>},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                  {name,connection},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                  {mfargs,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                     
{amqp_gen_connection,start_link,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                          [<0.6081.0>,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                          
{amqp_params_direct,<<"public-mqtt-client">>,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                               <<"-------------">>,<<"---------">>,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                               'rabbit@-----------,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                              
{amqp_adapter_info,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                                  
{----------------},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                                   1883,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                                  
{----------------,79},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                                   57632,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                                  
<<"---------------:57632 -> -------------:1883">>,</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                                  
{'MQTT',{3,1}},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                                   [{ssl,false}]},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                               []}]}},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                  {restart_type,intrinsic},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                  {shutdown,brutal_kill},</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">                  {child_type,worker}]</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p></div>