[rabbitmq-discuss] Errors on latest mgmt plug-in

Paul Pearcy paul.pearcy at wallst.com
Thu Jan 20 23:49:38 GMT 2011


Hello,
  I am attempting to get by the bug mentioned in this thread that is causing me some pain:
http://old.nabble.com/Management-plugin-issues-td30705395.html

In order to do this, I have rebuilt the management plugin from source based on these directions:
http://hg.rabbitmq.com/rabbitmq-management/file/132edbdcaaa9/BUILDING

This was all clear and straight forward. In order to update, I stop rabbitmq, remove the old plugins files and place the ones built by me (except rabbit_common.ez) in the plugins directory.

RabbitMQ starts up fine, but I am getting the error below when attempting to use the mgmt interface. Any ideas where I have gone wrong?

Thanks,
Paul


Here is the error:
{error,
    {error,function_clause,
        [{rabbit_mgmt_wm_overview,to_json,
             [{wm_reqdata,'GET',
                  {1,1},
                  "10.2.123.16",
                  {wm_reqstate,#Port<0.4131>,
                      {dict,3,16,16,8,80,48,
                          {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
                          {{[],[],[],[],[],
                            [[resource_module|rabbit_mgmt_wm_overview],
                             ['content-type',97,112,112,108,105,99,97,116,105,
                              111,110,47,106,115,111,110]],
                            [],
                            [['content-encoding',105,100,101,110,116,105,116,
                              121]],
                            [],[],[],[],[],[],[],[]}}},
                      undefined,"10.2.123.16",'REQDATA',undefined,undefined,
                      {wm_log_data,undefined,
                          {1295,566931,800397},
                          'GET',
                          {10,
                           {"host",
                            {'Host',"dm-essearchd101:55672"},
                            {"connection",
                             {'Connection',"keep-alive"},
                             {"authorization",
                              {'Authorization',"Basic Z3Vlc3Q6Z3Vlc3Q="},
                              {"accept",
                               {'Accept',"*/*"},
                               nil,
                               {"accept-encoding",
                                {'Accept-Encoding',"gzip,deflate,sdch"},
                                {"accept-charset",
                                 {'Accept-Charset',
                                     "ISO-8859-1,utf-8;q=0.7,*;q=0.3"},
                                 nil,nil},
                                {"accept-language",
                                 {'Accept-Language',"en-US,en;q=0.8"},
                                 nil,nil}}},
                              nil},
                             {"content-type",
                              {'Content-Type',"application/json"},
                              nil,nil}},
                            {"referer",
                             {'Referer',"http://dm-essearchd101:55672/mgmt/"},
                             nil,
                             {"user-agent",
                              {'User-Agent',
                                  "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.67 Safari/534.13"},
                              nil,nil}}}},
                          "10.2.123.16","/api/overview",
                          {1,1},
                          404,0,undefined,undefined}},
                  [],"/api/overview","/api/overview",
                  {dict,0,16,16,8,80,48,
                      {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
                      {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
                  [],"../..",500,1073741824,67108864,[],[],
                  {10,
                   {"host",
                    {'Host',"dm-essearchd101:55672"},
                    {"connection",
                     {'Connection',"keep-alive"},
                     {"authorization",
                      {'Authorization',"Basic Z3Vlc3Q6Z3Vlc3Q="},
                      {"accept",
                       {'Accept',"*/*"},
                       nil,
                      {"accept-encoding",
                        {'Accept-Encoding',"gzip,deflate,sdch"},
                        {"accept-charset",
                         {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.3"},
                         nil,nil},
                        {"accept-language",
                         {'Accept-Language',"en-US,en;q=0.8"},
                         nil,nil}}},
                      nil},
                     {"content-type",
                      {'Content-Type',"application/json"},
                      nil,nil}},
                    {"referer",
                     {'Referer',"http://dm-essearchd101:55672/mgmt/"},
                     nil,
                     {"user-agent",
                      {'User-Agent',
                         "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.67 Safari/534.13"},
                      nil,nil}}}},
                  not_fetched_yet,false,
                  {1,
                   {"content-type",
                    {"Content-Type","application/json"},
                    nil,nil}},
                  <<>>,
                  ["dm-essearchd101"],
                  55672},
              {context,
                  {user,<<"guest">>,
                      <<234,121,247,186,255,0,101,109,78,202,155,11,253,146,
                        176,230,62,9,99,64>>,
                      true},
                  <<"guest">>}]},
         {webmachine_resource,resource_call,3},
         {webmachine_resource,do,3},
         {webmachine_decision_core,resource_call,1},
         {webmachine_decision_core,decision,1},
         {webmachine_decision_core,handle_request,2},
         {webmachine_mochiweb,loop,1},
         {mochiweb_http,headers,5}]}}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110120/614ae135/attachment-0001.htm>


More information about the rabbitmq-discuss mailing list