Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

amqp1.0 using sasl PLAIN

$
0
0

Hi Microsoft,

currently im developing my own amqp1.0 client, i have done with basic implementation , Now started implementing SASL support for my amqp client, I started with SASL PLAIN and took help of rabbitmq as my broker with plugin enabled to support 1.0

please find the attached wireshark logs in link 

let me know am i missing anything, in my log i see version negotiation, sasl negotiation,version negotiation, amqp open, is success but i didnt understood why amqp session is failed in this case broker is replying with amqp close.

Please help me in understanding the issue.

below info from captured packet
IN CLOSE PACKET i see as below in description

Reader error: {badmatch,
               {error,
                {'EXIT',
                 {{badmatch,
                   {error,
                    {{{badmatch,{error,not_allowed}},
                      [{rabbit_amqp1_0_session_process,init,1,
                        [{file,"src/rabbit_amqp1_0_session_process.erl"},
                         {line,45}]},
                       {gen_server2,init_it,6,
                        [{file,"src/gen_server2.erl"},{line,559}]},
                       {proc_lib,init_p_do_apply,3,
                        [{file,"proc_lib.erl"},{line,247}]}]},
                     {child,undefined,channel,
                      {rabbit_amqp1_0_session_process,start_link,
                       [{0,<0.340.0>,<0.345.0>,
                         {user,<<"guest1">>,
                          [administrator],
                          [{rabbit_auth_backend_internal,none}]},<<"/">>,4294967287,
                         {amqp_adapter_info,
                          {0,0,0,0,0,65535,2600,527},
                          5672,
                          {0,0,0,0,0,65535,2600,549},
                          50007,<<"10.40.2.37:50007 -> 10.40.2.15:5672">>,
                          {'AMQP',"1.0"},
                          [{ssl,false}]},<0.342.0>}]},
                      intrinsic,4294967295,worker,
                      [rabbit_amqp1_0_session_process]}}}},
                  [{rabbit_amqp1_0_session_sup,start_link,1,
                    [{file,"src/rabbit_amqp1_0_session_sup.erl"},{line,54}]},
                   {supervisor2,do_start_child_i,3,
                    [{file,"src/supervisor2.erl"},{line,437}]},
                   {supervisor2,handle_call,3,
                    [{file,"src/supervisor2.erl"},{line,463}]},
                   {gen_server,try_handle_call,4,
                    [{file,"gen_server.erl"},{line,615}]},
                   {gen_server,handle_msg,5,
                    [{file,"gen_server.erl"},{line,647}]},
                   {proc_lib,init_p_do_apply,3,
                    [{file,"proc_lib.erl"},{line,247}]}]}}}}
[{rabbit_amqp1_0_reader,send_to_new_1_0_session,3,
                        [{file,"src/rabbit_amqp1_0_reader.erl"},{line,665}]},
 {rabbit_amqp1_0_reader,handle_1_0_session_frame,3,
                        [{file,"src/rabbit_amqp1_0_reader.erl"},{line,449}]},
 {rabbit_amqp1_0_reader,handle_1_0_frame,4,
                        [{file,"src/rabbit_amqp1_0_reader.erl"},{line,303}]},
 {rabbit_amqp1_0_reader,recvloop,2,
                        [{file,"src/rabbit_amqp1_0_reader.erl"},{line,119}]},
 {rabbit_reader,run,1,[{file,"src/rabbit_reader.erl"},{line,427}]},
 {rabbit_reader,start_connection,4,
                [{file,"src/rabbit_reader.erl"},{line,385}]},
 {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]



Thanks & Regards,
Teja.

Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>