Hi,<br><br>I recently upgraded from RabbitMQ 1.8.1 to 2.3.1 and am running in Mac and Ubuntu enviroments. I have a plugin that uses the amqp_client to access a local queue. With 2.3.1 when shutting down I get the error below, which I never encountered previously. There is no load when the shutdown is happening.<br>
<br>I tried to determine the cause. It appears that it may be something of a race in that when I insert a 500 msec delay in amqp_channels_manger:handle_channel_down/4 I get the initial internal error indication, but no following error report. My plugin is listed before the amqp_client application when I do a &#39;rabbitmqctl status&#39; so I it should be the first getting a chance to shutdown and close its amqp connection, i.e., before the amqp_client shuts down, but I suppose applications shutdown asynchronously.<br>
<br>Is this a bug or am I violating some RabbitMQ design assumption. Like I said, it wasn&#39;t happening with 1.8.1 over the last 10 months of use.<br><br>Lee Kirchhoff<br><br><br>=WARNING REPORT==== 10-Mar-2011::16:19:53 ===<br>
Connection (&lt;0.258.0&gt;) closing: internal error in channel (&lt;0.263.0&gt;): shutdown<br><br>=INFO REPORT==== 10-Mar-2011::16:19:53 ===<br>stopped TCP Listener on <a href="http://0.0.0.0:5672">0.0.0.0:5672</a><br><br>
=ERROR REPORT==== 10-Mar-2011::16:19:53 ===<br>** Generic server &lt;0.258.0&gt; terminating <br>** Last message in was {&#39;$gen_cast&#39;,channels_terminated}<br>** When Server state == {state,amqp_direct_connection,<br>
������������������������ {state,&#39;rabbit@Lee-Kirchoffs-MacBook-Pro-9&#39;,<br>������������������������� {user,&lt;&lt;&quot;admin&quot;&gt;&gt;,false,<br>�������������������������� rabbit_auth_backend_internal,<br>�������������������������� {internal_user,&lt;&lt;&quot;admin&quot;&gt;&gt;,<br>
��������������������������� &lt;&lt;167,250,242,115,130,251,81,144,147,129,52,74,15,<br>����������������������������� 106,4,17,219,130,101,154&gt;&gt;,<br>��������������������������� false}},<br>������������������������� &lt;&lt;&quot;/right_net&quot;&gt;&gt;,&lt;0.261.0&gt;,<br>
������������������������� {internal_error,541,&lt;&lt;&gt;&gt;}},<br>������������������������ &lt;0.256.0&gt;,&lt;0.259.0&gt;,<br>������������������������ {amqp_params,&lt;&lt;&quot;admin&quot;&gt;&gt;,&lt;&lt;&quot;71a8B521&quot;&gt;&gt;,<br>
������������������������� &lt;&lt;&quot;/right_net&quot;&gt;&gt;,&quot;localhost&quot;,5672,<br>������������������������� &#39;rabbit@Lee-Kirchoffs-MacBook-Pro-9&#39;,0,0,0,none,<br>������������������������� [#Fun&lt;amqp_auth_mechanisms.plain.3&gt;,<br>
�������������������������� #Fun&lt;amqp_auth_mechanisms.amqplain.3&gt;],<br>������������������������� []},<br>������������������������ 0,<br>������������������������ [{&lt;&lt;&quot;copyright&quot;&gt;&gt;,longstr,<br>�������������������������� &lt;&lt;&quot;Copyright (C) 2007-2011 VMware, Inc.&quot;&gt;&gt;},<br>
������������������������� {&lt;&lt;&quot;information&quot;&gt;&gt;,longstr,<br>�������������������������� &lt;&lt;&quot;Licensed under the MPL.� See <a href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a>&quot;&gt;&gt;},<br>
������������������������� {&lt;&lt;&quot;platform&quot;&gt;&gt;,longstr,&lt;&lt;&quot;Erlang/OTP&quot;&gt;&gt;},<br>������������������������� {&lt;&lt;&quot;product&quot;&gt;&gt;,longstr,&lt;&lt;&quot;RabbitMQ&quot;&gt;&gt;},<br>
������������������������� {&lt;&lt;&quot;version&quot;&gt;&gt;,longstr,&lt;&lt;&quot;%%VSN%%&quot;&gt;&gt;}],<br>������������������������ #Fun&lt;amqp_connection_sup.1.27217533&gt;,<br>������������������������ #Fun&lt;amqp_connection_sup.2.105785818&gt;,<br>
������������������������ {closing,internal_error,<br>������������������������� {&#39;connection.close&#39;,541,&lt;&lt;&gt;&gt;,0,0},<br>������������������������� none}}<br>** Reason for termination == <br>** {internal_error,541,&lt;&lt;&gt;&gt;}<br>
<br>