[rabbitmq-discuss] stomp plugin doesn't work in Ubuntu Natty

Akbar Pirani akbar.pirani7 at gmail.com
Wed Aug 28 00:01:01 BST 2013


I am using RabbitMQ 3.1.5 on Mac OS X 10.8.4 (12E55) installed using 
brew. Since the rabbitmq-auth-backend-http plugin is not provided with 
the release I built it from the source using the build process described 
at 
http://correlia.blogspot.com/2012/07/rabbitmq-with-http-backend-plugin.html 
<http://correlia.blogspot.com/2012/07/rabbitmq-with-http-backend-plugin.html>and 
http://www.rabbitmq.com/plugin-development.html 
<http://www.rabbitmq.com/plugin-development.html>

The plugin was built using Erlang R15B03 (erts-5.9.3.1). Then I copied 
the built plugin in rabbitmq plugins directory and enabled it and tried 
to use it by making a web stomp request. I am getting the following 
error in rabbit at localhost.log

=ERROR REPORT==== 26-Aug-2013::20:19:26 ===
** Generic server <0.533.0> terminating
** Last message in was connect
** When Server state == {state,amqp_direct_connection,
             {state,undefined,undefined,undefined,undefined,
                 undefined,undefined,undefined},
             <0.532.0>,undefined,
             {amqp_params_direct,
                 <<"6c979dea-8d9a-4921-85d0-c5e9c2539126">>,
                 <<"5e860b7b-00fe-4d9c-98e7-7fe3bb7a73d3">>,
                 <<"/">>,rabbit at localhost,
                 {amqp_adapter_info,
                     {127,0,0,1},
                     15674,
                     {127,0,0,1},
                     52498,
                     <<"127.0.0.1:52498 
<http://127.0.0.1:52498/>->127.0.0.1:15674 <http://127.0.0.1:15674/>">>,
                     {'Web STOMP',"1.0"},
                     [{ssl,false}]},
                 []},
             undefined,undefined,
             #Fun<amqp_connection_sup.1.55585968>,
             #Fun<amqp_connection_sup.2.55585968>,false}
** Reason for termination ==
** {{case_clause,
         {badrpc,
{'EXIT',
{undef,
     [{edoc_lib,escape_uri,
          ["6c979dea-8d9a-4921-85d0-c5e9c2539126"],
          []},
      {rabbit_auth_backend_http,escape,2,
          [{file,"src/rabbit_auth_backend_http.erl"},
           {line,96}]},
      {rabbit_auth_backend_http,'-q/2-lc$^0/1-0-',1,
          [{file,"src/rabbit_auth_backend_http.erl"},
           {line,91}]},
      {rabbit_auth_backend_http,q,2,
          [{file,"src/rabbit_auth_backend_http.erl"},
           {line,91}]},
      {rabbit_auth_backend_http,check_user_login,2,
          [{file,"src/rabbit_auth_backend_http.erl"},
           {line,37}]},
      {rabbit_access_control,'-check_user_login/2-fun-0-',4,
          [{file,"src/rabbit_access_control.erl"},{line,56}]},
      {lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
      {rabbit_direct,connect0,7,
          [{file,"src/rabbit_direct.erl"},{line,88}]}]}}}},
[{amqp_direct_connection,connect,4,
  [{file,"src/amqp_direct_connection.erl"},{line,132}]},
  {amqp_gen_connection,handle_call,3,
  [{file,"src/amqp_gen_connection.erl"},{line,177}]},
  {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},
  {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

Any ideas on what the problem is and how it can be resolved?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130827/cfbdfc29/attachment.htm>


More information about the rabbitmq-discuss mailing list