[rabbitmq-discuss] Management API: Connections

Petrus Rademeyer mail.axisk at gmail.com
Thu Nov 22 10:58:27 GMT 2012


Hi,

Currently running 3.0.0-1, anytime there is a STOMP connection present when 
hitting the connections api (/api/connections) an error is displayed:


{"error":"JSON encode error: 
{bad_term,{0,0,0,0,0,65535,49320,5733}}","reason":"While 
encoding:\n[[{recv_oct,905},\n  {recv_cnt,24},\n  {send_oct,974},\n 
 {send_cnt,27},\n  {send_pend,0},\n  {state,running},\n 
 {last_blocked_by,none},\n  {last_blocked_age,infinity},\n  {channels,6},\n 
 {recv_oct_details,[{rate,0},{interval,5002014},{last_event,1353581309010}]},\n 
 {send_oct_details,[{rate,0},{interval,5002014},{last_event,1353581309010}]},\n 
 {type,network},\n  {node,rscluster at queue2},\n 
 {name,<<\"192.168.22.100:40291 -> 192.168.22.100:5672\">>},\n 
 {port,5672},\n  {peer_port,40291},\n  {host,<<\"192.168.22.100\">>},\n 
 {peer_host,<<\"192.168.22.100\">>},\n  {ssl,false},\n 
 {peer_cert_subject,''},\n  {peer_cert_issuer,''},\n 
 {peer_cert_validity,''},\n  {auth_mechanism,<<\"PLAIN\">>},\n 
 {ssl_protocol,''},\n  {ssl_key_exchange,''},\n  {ssl_cipher,''},\n 
 {ssl_hash,''},\n  {protocol,<<\"AMQP 0-9-1\">>},\n 
 {user,<<\"guest\">>},\n  {vhost,<<\"/\">>},\n  {timeout,600},\n 
 {frame_max,131072},\n  {client_properties,\n      {struct,\n         
 [{<<\"product\">>,<<\"RabbitMQ\">>},\n           {<<\"information\">>,\n   
         <<\"Licensed under the MPL. See http://www.rabbitmq.com/\">>},\n   
        {<<\"platform\">>,<<\"Java\">>},\n           
{<<\"capabilities\">>,\n            {struct,\n               
 [{<<\"exchange_exchange_bindings\">>,true},\n                 
{<<\"consumer_cancel_notify\">>,true},\n                 
{<<\"basic.nack\">>,true},\n                 
{<<\"publisher_confirms\">>,true}]}},\n           
{<<\"copyright\">>,<<\"Copyright (C) 2007-2012 VMware, Inc.\">>},\n         
  {<<\"version\">>,<<\"2.8.4\">>}]}}],\n [{recv_oct,968},\n 
 {recv_cnt,31},\n  {send_oct,1811},\n  {send_cnt,30},\n  {send_pend,0},\n 
 {state,running},\n  {last_blocked_by,none},\n 
 {last_blocked_age,infinity},\n  {channels,6},\n 
 {recv_oct_details,[{rate,0},{interval,5222973},{last_event,1353581533759}]},\n 
 {send_oct_details,[{rate,0},{interval,5222973},{last_event,1353581533759}]},\n 
 {type,network},\n  {node,rscluster at queue1},\n 
 {name,<<\"192.168.22.99:48212 -> 192.168.22.99:5672\">>},\n 
 {port,5672},\n  {peer_port,48212},\n  {host,<<\"192.168.22.99\">>},\n 
 {peer_host,<<\"192.168.22.99\">>},\n  {ssl,false},\n 
 {peer_cert_subject,''},\n  {peer_cert_issuer,''},\n 
 {peer_cert_validity,''},\n  {auth_mechanism,<<\"PLAIN\">>},\n 
 {ssl_protocol,''},\n  {ssl_key_exchange,''},\n  {ssl_cipher,''},\n 
 {ssl_hash,''},\n  {protocol,<<\"AMQP 0-9-1\">>},\n 
 {user,<<\"guest\">>},\n  {vhost,<<\"/\">>},\n  {timeout,600},\n 
 {frame_max,131072},\n  {client_properties,\n      {struct,\n         
 [{<<\"product\">>,<<\"RabbitMQ\">>},\n           {<<\"information\">>,\n   
         <<\"Licensed under the MPL. See http://www.rabbitmq.com/\">>},\n   
        {<<\"platform\">>,<<\"Java\">>},\n           
{<<\"capabilities\">>,\n            {struct,\n               
 [{<<\"exchange_exchange_bindings\">>,true},\n                 
{<<\"consumer_cancel_notify\">>,true},\n                 
{<<\"basic.nack\">>,true},\n                 
{<<\"publisher_confirms\">>,true}]}},\n           
{<<\"copyright\">>,<<\"Copyright (C) 2007-2012 VMware, Inc.\">>},\n         
  {<<\"version\">>,<<\"2.8.4\">>}]}}],\n [{node,rscluster at queue3},\n 
 {protocol,<<\"STOMP 1.0\">>},\n  {address,{0,0,0,0,0,65535,49320,5733}},\n 
 {port,61613},\n  {name,<<\"192.168.22.106:47960 -> 
192.168.22.101:61613\">>},\n 
 {peer_address,{0,0,0,0,0,65535,49320,5738}},\n  {peer_port,47960},\n 
 {user,<<\"petrus\">>},\n  {vhost,<<\"petrus\">>},\n 
 {client_properties,{struct,[]}},\n  {type,direct},\n  {ssl,false}],\n 
[{recv_oct,975},\n  {recv_cnt,23},\n  {send_oct,1817},\n  {send_cnt,30},\n 
 {send_pend,0},\n  {state,running},\n  {last_blocked_by,none},\n 
 {last_blocked_age,infinity},\n  {channels,6},\n 
 {recv_oct_details,[{rate,0},{interval,5266999},{last_event,1353581400374}]},\n 
 {send_oct_details,[{rate,0},{interval,5266999},{last_event,1353581400374}]},\n 
 {type,network},\n  {node,rscluster at queue2},\n 
 {name,<<\"192.168.23.50:48860 -> 192.168.22.100:5672\">>},\n 
 {port,5672},\n  {peer_port,48860},\n  {host,<<\"192.168.22.100\">>},\n 
 {peer_host,<<\"192.168.23.50\">>},\n  {ssl,false},\n 
 {peer_cert_subject,''},\n  {peer_cert_issuer,''},\n 
 {peer_cert_validity,''},\n  {auth_mechanism,<<\"PLAIN\">>},\n 
 {ssl_protocol,''},\n  {ssl_key_exchange,''},\n  {ssl_cipher,''},\n 
 {ssl_hash,''},\n  {protocol,<<\"AMQP 0-9-1\">>},\n 
 {user,<<\"petrus\">>},\n  {vhost,<<\"petrus\">>},\n  {timeout,600},\n 
 {frame_max,131072},\n  {client_properties,\n      {struct,\n         
 [{<<\"product\">>,<<\"RabbitMQ\">>},\n           {<<\"information\">>,\n   
         <<\"Licensed under the MPL. See http://www.rabbitmq.com/\">>},\n   
        {<<\"platform\">>,<<\"Java\">>},\n           
{<<\"capabilities\">>,\n            {struct,\n               
 [{<<\"exchange_exchange_bindings\">>,true},\n                 
{<<\"consumer_cancel_notify\">>,true},\n                 
{<<\"basic.nack\">>,true},\n                 
{<<\"publisher_confirms\">>,true}]}},\n           
{<<\"copyright\">>,<<\"Copyright (C) 2007-2012 VMware, Inc.\">>},\n         
  {<<\"version\">>,<<\"2.8.4\">>}]}}]]"}

This error is also displayed in the management UI when going to the 
connections tab while a STOMP connection is present.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121122/e579a7d2/attachment.htm>


More information about the rabbitmq-discuss mailing list