<div dir="ltr"><p class="MsoNormal">We have a consumer process that's just dying repeatedly throwing low level channel errors. This is using amqp-client 3.2.0. We've tried with an earlier version as well. We die as soon as we try and do a basicConsume on the channel. On the server, I found the below logs.</p>
<p class="MsoNormal"><br></p><p class="MsoNormal">Just wanted to see if anyone had any ideas? We deleted the messages, published them again and our consumer works fine. This has us pretty confused. The ONLY guess I have right now is some sort of funky character or a blank tag somehow got in, but I can't imagine what that would be - nothing here seems out of place. Note, the original problem message was published through the management GUI.</p>
<p class="MsoNormal">Thanks for any advice!</p><p class="MsoNormal">Jason</p><p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=SUPERVISOR REPORT==== 31-Oct-2013::11:30:42 ===</p>
<p class="MsoNormal"> Supervisor:
{<0.1276.61>,rabbit_channel_sup}</p>
<p class="MsoNormal"> Context:
child_terminated</p>
<p class="MsoNormal"> Reason:
badarg</p>
<p class="MsoNormal"> Offender: [{pid,<0.1275.61>},</p>
<p class="MsoNormal">
{name,writer},</p>
<p class="MsoNormal">
{mfargs,</p>
<p class="MsoNormal">
{rabbit_writer,start_link,</p>
<p class="MsoNormal">
[#Port<0.347665>,2,131072,rabbit_framing_amqp_0_9_1,</p>
<p class="MsoNormal">
<0.1278.61>,true]}},</p>
<p class="MsoNormal">
{restart_type,intrinsic},</p>
<p class="MsoNormal">
{shutdown,4294967295},</p>
<p class="MsoNormal">
{child_type,worker}]</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=SUPERVISOR REPORT==== 31-Oct-2013::11:30:42 ===</p>
<p class="MsoNormal"> Supervisor:
{<0.1276.61>,rabbit_channel_sup}</p>
<p class="MsoNormal"> Context: shutdown</p>
<p class="MsoNormal"> Reason:
reached_max_restart_intensity</p>
<p class="MsoNormal"> Offender:
[{pid,<0.1275.61>},</p>
<p class="MsoNormal">
{name,writer},</p>
<p class="MsoNormal">
{mfargs,</p>
<p class="MsoNormal">
{rabbit_writer,start_link,</p>
<p class="MsoNormal">
[#Port<0.347665>,2,131072,rabbit_framing_amqp_0_9_1,</p>
<p class="MsoNormal">
<0.1278.61>,true]}},</p>
<p class="MsoNormal">
{restart_type,intrinsic},</p>
<p class="MsoNormal">
{shutdown,4294967295},</p>
<p class="MsoNormal">
{child_type,worker}]</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=CRASH REPORT==== 31-Oct-2013::11:30:43 ===</p>
<p class="MsoNormal"> crasher:</p>
<p class="MsoNormal"> initial call: rabbit_writer:mainloop/2</p>
<p class="MsoNormal"> pid: <0.1299.61></p>
<p class="MsoNormal"> registered_name: []</p>
<p class="MsoNormal"> exception error: bad argument</p>
<p class="MsoNormal"> in function
rabbit_framing_amqp_0_9_1:encode_properties/1</p>
<p class="MsoNormal"> in call from
rabbit_binary_generator:ensure_content_encoded/2</p>
<p class="MsoNormal"> in call from
rabbit_binary_generator:build_simple_content_frames/4</p>
<p class="MsoNormal"> in call from
rabbit_writer:assemble_frames/5</p>
<p class="MsoNormal"> in call from
rabbit_writer:internal_send_command_async/3</p>
<p class="MsoNormal"> in call from
rabbit_writer:handle_message/2</p>
<p class="MsoNormal"> in call from rabbit_writer:handle_message/3</p>
<p class="MsoNormal"> in call from
rabbit_writer:mainloop1/2</p>
<p class="MsoNormal"> ancestors:
[<0.1300.61>,<0.1303.61>,<0.1272.61>,<0.1273.61>,</p>
<p class="MsoNormal">
rabbit_tcp_client_sup,rabbit_sup,<0.165.0>]</p>
<p class="MsoNormal"> messages:
[{send_command_and_notify,<0.14808.16>,<0.1293.61>,</p>
<p class="MsoNormal">
{'basic.deliver',<<"amq.ctag-y_Tr2BuZFgx7A3XAmXxzSg">>,</p>
<p class="MsoNormal">
2,true,<<>>,<<"extractions.summarizer">>},</p>
<p class="MsoNormal"> {content,60,</p>
<p class="MsoNormal">
{'P_basic',<<"text/plain">>,<<"UTF-8">>,[],1,</p>
<p class="MsoNormal">
<<"0">>,undefined,undefined,undefined,undefined,</p>
<p class="MsoNormal">
undefined,undefined,undefined,undefined,</p>
<p class="MsoNormal">
undefined},</p>
<p class="MsoNormal">
none,none,</p>
<p class="MsoNormal">
[<<"{\"jobName\":\"BIGFauxTest2\",\"creationTime\":\"10-03-2013
14:36:10\"}">>]}}]</p>
<p class="MsoNormal"> links: [<0.1300.61>]</p>
<p class="MsoNormal"> dictionary: []</p>
<p class="MsoNormal"> trap_exit: false</p>
<p class="MsoNormal"> status: running</p>
<p class="MsoNormal"> heap_size: 376</p>
<p class="MsoNormal"> stack_size: 27</p>
<p class="MsoNormal"> reductions: 423</p>
<p class="MsoNormal"> neighbours:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===</p>
<p class="MsoNormal"> Supervisor:
{<0.1300.61>,rabbit_channel_sup}</p>
<p class="MsoNormal"> Context:
child_terminated</p>
<p class="MsoNormal"> Reason:
badarg</p>
<p class="MsoNormal"> Offender:
[{pid,<0.1299.61>},</p>
<p class="MsoNormal">
{name,writer},</p>
<p class="MsoNormal">
{mfargs,</p>
<p class="MsoNormal">
{rabbit_writer,start_link,</p>
<p class="MsoNormal">
[#Port<0.347666>,2,131072,rabbit_framing_amqp_0_9_1,</p>
<p class="MsoNormal">
<0.1271.61>,true]}},</p>
<p class="MsoNormal">
{restart_type,intrinsic},</p>
<p class="MsoNormal">
{shutdown,4294967295},</p>
<p class="MsoNormal">
{child_type,worker}]</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===</p>
<p class="MsoNormal"> Supervisor:
{<0.1300.61>,rabbit_channel_sup}</p>
<p class="MsoNormal"> Context: shutdown</p>
<p class="MsoNormal"> Reason:
reached_max_restart_intensity</p>
<p class="MsoNormal"> Offender:
[{pid,<0.1299.61>},</p>
<p class="MsoNormal">
{name,writer},</p>
<p class="MsoNormal">
{mfargs,</p>
<p class="MsoNormal">
{rabbit_writer,start_link,</p>
<p class="MsoNormal">
[#Port<0.347666>,2,131072,rabbit_framing_amqp_0_9_1,</p>
<p class="MsoNormal">
<0.1271.61>,true]}},</p>
<p class="MsoNormal">
{restart_type,intrinsic},</p>
<p class="MsoNormal">
{shutdown,4294967295},</p>
<p class="MsoNormal">
{child_type,worker}]</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=CRASH REPORT==== 31-Oct-2013::11:30:43 ===</p>
<p class="MsoNormal"> crasher:</p>
<p class="MsoNormal"> initial call: rabbit_writer:mainloop/2</p>
<p class="MsoNormal"> pid: <0.1325.61></p>
<p class="MsoNormal"> registered_name: []</p>
<p class="MsoNormal"> exception error: bad argument</p>
<p class="MsoNormal"> in function
rabbit_framing_amqp_0_9_1:encode_properties/1</p>
<p class="MsoNormal"> in call from
rabbit_binary_generator:ensure_content_encoded/2</p>
<p class="MsoNormal"> in call from
rabbit_binary_generator:build_simple_content_frames/4</p>
<p class="MsoNormal"> in call from rabbit_writer:assemble_frames/5</p>
<p class="MsoNormal"> in call from
rabbit_writer:internal_send_command_async/3</p>
<p class="MsoNormal"> in call from
rabbit_writer:handle_message/2</p>
<p class="MsoNormal"> in call from
rabbit_writer:handle_message/3</p>
<p class="MsoNormal"> in call from
rabbit_writer:mainloop1/2</p>
<p class="MsoNormal"> ancestors: [<0.1323.61>,<0.1317.61>,<0.1296.61>,<0.1297.61>,</p>
<p class="MsoNormal">
rabbit_tcp_client_sup,rabbit_sup,<0.165.0>]</p>
<p class="MsoNormal"> messages:
[{send_command_and_notify,<0.14808.16>,<0.1322.61>,</p>
<p class="MsoNormal">
{'basic.deliver',<<"amq.ctag-ACPfvFFpUNKEw1WOwN9IbQ">>,</p>
<p class="MsoNormal">
2,true,<<>>,<<"extractions.summarizer">>},</p>
<p class="MsoNormal">
{content,60,</p>
<p class="MsoNormal">
{'P_basic',<<"text/plain">>,<<"UTF-8">>,[],1,</p>
<p class="MsoNormal">
<<"0">>,undefined,undefined,undefined,undefined,</p>
<p class="MsoNormal">
undefined,undefined,undefined,undefined,</p>
<p class="MsoNormal">
undefined},</p>
<p class="MsoNormal">
none,none,</p>
<p class="MsoNormal">
[<<"{\"jobName\":\"BIGFauxTest2\",\"creationTime\":\"10-03-2013
14:36:10\"}">>]}}]</p>
<p class="MsoNormal"> links: [<0.1323.61>]</p>
<p class="MsoNormal"> dictionary: []</p>
<p class="MsoNormal"> trap_exit: false</p>
<p class="MsoNormal"> status: running</p>
<p class="MsoNormal"> heap_size: 376</p>
<p class="MsoNormal"> stack_size: 27</p>
<p class="MsoNormal"> reductions: 438</p>
<p class="MsoNormal"> neighbours:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===</p>
<p class="MsoNormal"> Supervisor:
{<0.1323.61>,rabbit_channel_sup}</p>
<p class="MsoNormal"> Context:
child_terminated</p>
<p class="MsoNormal"> Reason:
badarg</p>
<p class="MsoNormal"> Offender:
[{pid,<0.1325.61>},</p>
<p class="MsoNormal">
{name,writer},</p>
<p class="MsoNormal">
{mfargs,</p>
<p class="MsoNormal">
{rabbit_writer,start_link,</p>
<p class="MsoNormal">
[#Port<0.347667>,2,131072,rabbit_framing_amqp_0_9_1,</p>
<p class="MsoNormal">
<0.1295.61>,true]}},</p>
<p class="MsoNormal">
{restart_type,intrinsic},</p>
<p class="MsoNormal">
{shutdown,4294967295},</p>
<p class="MsoNormal">
{child_type,worker}]</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">=SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===</p>
<p class="MsoNormal"> Supervisor:
{<0.1323.61>,rabbit_channel_sup}</p>
<p class="MsoNormal"> Context: shutdown</p>
<p class="MsoNormal"> Reason:
reached_max_restart_intensity</p>
<p class="MsoNormal"> Offender:
[{pid,<0.1325.61>},</p>
<p class="MsoNormal">
{name,writer},</p>
<p class="MsoNormal">
{mfargs,</p>
<p class="MsoNormal">
{rabbit_writer,start_link,</p>
<p class="MsoNormal">
[#Port<0.347667>,2,131072,rabbit_framing_amqp_0_9_1,</p>
<p class="MsoNormal">
<0.1295.61>,true]}},</p>
<p class="MsoNormal">
{restart_type,intrinsic},</p>
<p class="MsoNormal">
{shutdown,4294967295},</p>
<p class="MsoNormal">
{child_type,worker}]</p><div><br></div>-- <br><div dir="ltr">Jason McIntosh<br><a href="https://github.com/jasonmcintosh/" target="_blank">https://github.com/jasonmcintosh/</a><br>573-424-7612</div>
</div>