Yes this error is when receiving messages from the queue.
Here is the log with 'PN_TRACE_FRM=1'
/build$ ./recv amqp://
192.168.101.118/queue2Connected to
192.168.101.118:5672[0x9b8150]: -> SASL
[0x9b8150]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b""]
[0x9b8150]: <- SASL
[0x9b8150]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS, :AMQPLAIN, :PLAIN]]
[0x9b8150]:0 <- @sasl-outcome(68) [code=0]
[0x9b8150]: -> AMQP
[0x9b8150]:0 -> @open(16) [container-id="8310b1de-0b98-4ce8-b3db-964d20854316", hostname="192.168.101.118"]
[0x9b8150]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=
2147483647, outgoing-window=0]
[0x9b8150]:0 -> @attach(18) [name="receiver-xxx", handle=0, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="queue2", durable=0, timeout=0, dynamic=false], target=@target(41) [address="queue2", durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
[0x9b8150]:0 -> @flow(19) [incoming-window=
2147483647, next-outgoing-id=0, outgoing-window=0, handle=0, delivery-count=0, link-credit=1024, drain=false]
[0x9b8150]: <- AMQP
[0x9b8150]:0 <- @open(16) [container-id="rab...@PC0068.xxxxx.xxxx", idle-time-out=60000, properties={:"cluster_name"="rab...@PC0068.xxxxx.xxxx", :copyright="Copyright (C) 2007-2015 Pivotal Software, Inc.", :information="Licensed under the MPL. See
http://www.rabbitmq.com/", :platform="Erlang/OTP", :product="RabbitMQ", :version="3.6.0"}]
[0x9b8150]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0, incoming-window=65535, outgoing-window=65535, handle-max=4294967295]
[0x9b8150]:0 <- @attach(18) [name="receiver-xxx", handle=0, role=false, snd-settle-mode=0, rcv-settle-mode=0, source=@source(40) [address="queue2", durable=0, timeout=0, dynamic=false, default-outcome=@released(38) [], outcomes=@PN_SYMBOL[:"amqp:accepted:list", :"amqp:rejected:list", :"amqp:released:list"]], initial-delivery-count=0]
[0x9b8150]:0 <- @flow(19) [next-incoming-id=0, incoming-window=65535, next-outgoing-id=0, outgoing-window=65535, handle=0, delivery-count=0, link-credit=1024, available=0, drain=false]
[0x9b8150]:0 <- @transfer(20) [handle=0, delivery-id=0, delivery-tag=b"\x00\x00\x00\x00\x00\x00\x00\x01", message-format=0, settled=false, more=false, resume=false, aborted=false, batchable=false] (95) "\x00Sp\xc0\x07\x05BP\x04@B@\x00Ss\xd0\x00\x00\x00@\x00\x00\x00\x0d@@\xa1\x1damqp://
192.168.101.118/queue2@@@@@\x83\x00\x00\x00\x00\x00\x00\x00\x00\x83\x00\x00\x00\x00\x00\x00\x00\x00@R\x00@\x00Sw\xa1\x06test12"
[0x9b8150]:0 <- @transfer(20) [handle=0, delivery-id=1, delivery-tag=b"\x00\x00\x00\x00\x00\x00\x00\x02", message-format=0, settled=false, more=false, resume=false, aborted=false, batchable=false] (97) "\x00Sp\xc0\x07\x05BP\x04@B@\x00Ss\xd0\x00\x00\x00@\x00\x00\x00\x0d@@\xa1\x1damqp://
192.168.101.118/queue2@@@@@\x83\x00\x00\x00\x00\x00\x00\x00\x00\x83\x00\x00\x00\x00\x00\x00\x00\x00@R\x00@\x00Sw\xa1\x08hzqfsefq"
Address: amqp://192.168.101.118/queue2
Subject: (no subject)
Content: "test12"
Address: amqp://192.168.101.118/queue2
Subject: (no subject)
Content: "hzqfsefq"[0x9b8150]:0 -> @disposition(21) [role=true, first=0, last=0, settled=true]
[0x9b8150]:0 -> @disposition(21) [role=true, first=1, last=1, settled=true]
[0x9b8150]:0 <- @end(23) [error=@error(29) [condition=:"amqp:invalid-field", description="Unrecognised state: undefined\x0aDisposition was: {'v1_0.disposition',true,\x0a {uint,0},\x0a {uint,0},\x0a true,undefined,undefined}\x0a"]]
SESSION ERROR (amqp:invalid-field) Unrecognised state: undefined
Disposition was: {'v1_0.disposition',true,
{uint,0},
{uint,0},
true,undefined,undefined}
[0x9b8150]:0 -> @end(23) []
[0x9b8150]:0 ->
[0x9b8150]:0 ->
[0x9b8150]:0 ->
[0x9b8150]:0 ->
[0x9b8150]:0 ->
[0x9b8150]:0 ->
As you can see there are 2 messages in this queue (named queue2) but they stays here forever. I can't understand all this log output put I hope we will have a better analyse of this.
Thanks.