[rabbitmq-discuss] custom plugin debugging

Prabodh Upreti prabodh.upreti at vce.com
Thu Nov 8 23:22:55 GMT 2012


I got over the crash problem.

Now where I try to connect via my java client I get

=ERROR REPORT==== 8-Nov-2012::18:16:57 ===
closing AMQP connection <0.246.0> (127.0.0.1:52094 -> 127.0.0.1:5672):
{channel0_error,starting,
    {error,function_clause,'connection.start_ok',
        [{rabbitmq_cas_authen,q,
             [user_path,
              [{ticket,<<"ST-2-VYPDk5OF0y7SCDe9LGCO-cas01.example.org">>},
               {password,<<>>}]],
             []},
         {rabbitmq_cas_authen,check_user_login,2,[]},
         {rabbit_access_control,'-check_user_login/2-fun-0-',4,[]},
         {lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
         {rabbit_reader,auth_phase,2,[]},
         {rabbit_reader,handle_method0,3,[]},
         {rabbit_reader,handle_input,3,[]},
         {rabbit_reader,recvloop,2,[]}]}}


To build my plugin, I have taken the sample code from

https://github.com/simonmacmullen/rabbitmq-auth-backend-http

It is similar to this plugin except makes a https call to the CAS
Server(kerberose).

my config is

[
	{rabbit, 
		[{auth_backends, [rabbitmq_cas_authen, rabbit_auth_backend_internal]},
		 {vm_memory_high_watermark, 0.1}
		]
	}
].

This is the first time I am writing plugin so I am sure I am missing
something here. Could you please give me some hints. Thank you.









--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/custom-plugin-debugging-tp23233p23244.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list