I have a RabbitMQ service running with the MQTT plugin. Everything was working fine and I had set a queue TTL for 3 days using the command Today, I noticed an issue where some messages were not being delivered and when I looked at the RabbitMQ server dashboard, I saw that every queue under "Features" has Looking at this post RabbitMQ: What is the default x-message-ttl value there should be no default TTL value. I am confused where the 30 minute TTL came from and I am having a hard time figuring out how to remove it. When I go to the Admin tab in the dashboard, I only see my 3 day TTL. I removed that, but nothing happened to the The 30 minute TTL is making me lose important data when clients are idle for more than 30 minutes and I need to remove it. |
=ERROR REPORT==== 18-Dec-2015::12:36:33 ===
** Generic server <0.720.0> terminating
** Last message in was {'EXIT',<0.716.0>,
{{shutdown,
{server_initiated_close,406,
<<"PRECONDITION_FAILED - inequivalent arg 'x-expires' for queue 'mqtt-subscription-4cab764f-9f24-11e5-b770-12442bac86e6qos1' in vhost '/': received none but current is the value '1800000' of type 'long'">>}},
{gen_server,call,
[<0.726.0>,
{call,
{'queue.declare',0,
<<"mqtt-subscription-4cab764f-9f24-11e5-b770-12442bac86e6qos1">>,
false,true,false,false,false,[]},
none,<0.716.0>},
infinity]}}}
** When Server state == {state,amqp_direct_connection,
{state,'rab...@xxx.xx.xx.xx:',
{user,<<"guest">>,
[administrator],
[{rabbit_auth_backend_internal,none}]},
<<"/">>,
{amqp_params_direct,<<"guest">>,none,<<"/">>,
'rab...@xxx.xx.xx.xx:',
{amqp_adapter_info,
{0,0,0,0,0,65535,44063,13073},
1883,
{0,0,0,0,0,65535,31719,11483},
53865,
<<"xxx.xx.xx.xx::53865 -> xxx.xx.xx.xx::1883">>,
{'MQTT',"3.1.1"},
[{ssl,false}]},
[]},
{amqp_adapter_info,
{0,0,0,0,0,65535,44063,13073},
1883,
{0,0,0,0,0,65535,31719,11483},
53865,
<<"xxx.xx.xx.xx::53865 -> xxx.xx.xx.xx::1883">>,
{'MQTT',"3.1.1"},
[{ssl,false}]},
<0.723.0>,undefined,1450442193430},
<0.722.0>,
{amqp_params_direct,<<"guest">>,none,<<"/">>,
'rab...@xxx.xx.xx.xx:',
{amqp_adapter_info,
{0,0,0,0,0,65535,44063,13073},
1883,
{0,0,0,0,0,65535,31719,11483},
53865,
<<"xxx.xx.xx.xx:53865 -> xxx.xx.xx.xx::1883">>,
{'MQTT',"3.1.1"},
[{ssl,false}]},
[]},
0,
[{<<"capabilities">>,table,
[{<<"publisher_confirms">>,bool,true},
{<<"exchange_exchange_bindings">>,bool,true},
{<<"basic.nack">>,bool,true},
{<<"consumer_cancel_notify">>,bool,true},
{<<"connection.blocked">>,bool,true},
{<<"consumer_priorities">>,bool,true},
{<<"authentication_failure_close">>,bool,true},
{<<"per_consumer_qos">>,bool,true}]},
{<<"cluster_name">>,longstr,
<<"rabbit@xxx-xx-x-xxx-xx">>},
{<<"copyright">>,longstr,
<<"Copyright (C) 2007-2015 Pivotal Software, Inc.">>},
{<<"information">>,longstr,
<<"Licensed under the MPL. See http://www.rabbitmq.com/">>},
{<<"platform">>,longstr,<<"Erlang/OTP">>},
{<<"product">>,longstr,<<"RabbitMQ">>},
{<<"version">>,longstr,<<"3.5.6">>}],
none,false}
** Reason for termination ==
** {unexpected_msg,
{'EXIT',<0.716.0>,
{{shutdown,
{server_initiated_close,406,
<<"PRECONDITION_FAILED - inequivalent arg 'x-expires' for queue 'mqtt-subscription-4cab764f-9f24-11e5-b770-12442bac86e6qos1' in vhost '/': received none but current is the value '1800000' of type 'long'">>}},
{gen_server,call,
[<0.726.0>,
{call,
{'queue.declare',0,
<<"mqtt-subscription-4cab764f-9f24-11e5-b770-12442bac86e6qos1">>,
false,true,false,false,false,[]},
none,<0.716.0>},
infinity]}}}}