<div class="gmail_quote">On Wed, Oct 6, 2010 at 3:37 PM, Chris Chew <span dir="ltr">&lt;<a href="mailto:chrisch@ecollege.com">chrisch@ecollege.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello.<br>
<br>
I have a plain vanilla RabbitMQ 2.1.0 install on Ubuntu 10.04, installed<br>
using dpkg -i.<br>
<br>
I downloaded the rabbitmq-management plugin and pre-requisites as linked<br>
from the plugins page (<a href="http://www.rabbitmq.com/plugins.html" target="_blank">http://www.rabbitmq.com/plugins.html</a>) into<br>
/usr/lib/rabbitmq/lib/rabbitmq_server-2.1.0/plugins.<br>
<br>
Restarting Rabbit starts the plugin on port 55672. �But when I browse to<br>
it and log in as an admin user (guest, after `rabbitmqctl set_admin<br>
guest`...) I get the following error:<br>
<br>
The server encountered an error while processing this request:<br>
{error,{exit,{json_encode,{bad_term,{bound_to,[&lt;&lt;&quot;<a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a>&quot;&gt;&gt;]}}},<br>
 � � � � � � [{mochijson2,json_encode,2},<br>
 � � � � � � �{mochijson2,&#39;-json_encode_array/2-fun-0-&#39;,3},<br>
 � � � � � � �{lists,foldl,3},<br>
 � � � � � � �{mochijson2,json_encode_array,2},<br>
 � � � � � � �{rabbit_mgmt_util,reply,3},<br>
 � � � � � � �{webmachine_resource,resource_call,3},<br>
 � � � � � � �{webmachine_resource,do,3},<br>
 � � � � � � �{webmachine_decision_core,resource_call,1}]}}<br>
<br>
<br>
Digging into it, it appears the problematic api call is:<br>
<br>
curl -iv -u guest:guest <a href="http://localhost:55672/api/overview" target="_blank">http://localhost:55672/api/overview</a><br>
<br>
<br>
Have I misconfigured something, or would this be a bug in the plugin?<br>
<br>
Thank you!<br>
<font color="#888888"><br>
Chris Chew<br><br></font></blockquote><div><br>I did the same thing just yesterday and received a similar error. �For me, at least, it went away after giving the server a few extra minutes to warm up so I didn&#39;t think anything of it.</div>
<div><br>Also, I had another issue where I installed the plugin on a server that was actively being used. �When I restarted the rabbitmq server, none of my queues had any count information. �I had to shut down the server, delete the mnesia folder, and restart it before I started to get counts.</div>
<div><br>There&#39;s clearly some variability in behavior based on the contents of the mnesia folder. �I don&#39;t know if that is contributing to your issue, but it&#39;s worth investigating.</div><div><br></div><div>Bryan�</div>
</div>