Error mongoose_acc jid_from_params
MongooseIM version: 3.4 Erlang/OTP version: Erlang/OTP 21 [erts-10.3.1]
2020-02-28 07:35:20.354 [error] <0.4174.0>@mongoose_acc:jid_from_params:223 gen_fsm <0.4174.0> in state session_established terminated with reason: no match of right hand value error in mongoose_acc:jid_from_params/3 line 223 2020-02-28 07:35:20.354 [error] <0.4174.0>@mongoose_acc:jid_from_params:223 CRASH REPORT Process <0.4174.0> with 0 neighbours exited with reason: no match of right hand value error in mongoose_acc:jid_from_params/3 line 223 in p1_fsm_old:terminate/7 line 729 2020-02-28 07:35:20.354 [error] <0.531.0>@mongoose_acc:jid_from_params:223 Supervisor ejabberd_c2s_sup had child undefined started with {ejabberd_c2s,start_link,undefined} at <0.4174.0> exit with reason no match of right hand value error in mongoose_acc:jid_from_params/3 line 223 in context child_terminated
Hi @krot3232
It seems this error is logged when processing some stanza sent to/from client. Can you please paste such stanza?
{xmlstreamelement,{xmlel,<<"iq">>,[{<<"type">>,<<"get">>},{<<"to">>,<<"@localhost">>},{<<"id">>,<<"5157146B-D0D2-4E86-BA67-858CDF8884BB">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:last">>}],[]}]}}
found the reason the client does not send correctly 'to'.
There is also an error in the logs:
2020-03-09 13:00:54.313 [warning] <0.7225.70>@ejabberd_c2s:handle_info:1057 event=replaced_wait_timeout,monitor=#Ref<0.453767852.105906179.53104>,replaced_pid=<0.32350.69> 2020-03-09 13:00:58.718 [error] <0.7225.70>@ejabberd_c2s:handle_incoming_message:1169 Unexpected info: {#Ref<0.453767852.128974849.20789>,{ok,{state,{socket_state,ejabberd_tls,{ejabberd_tls_socket,fast_tls,#Port<0.907807>,{tlssock,#Port<0.907807>,#Ref<0.453767852.105775107.230291>},[{ciphers,"TLSv1.2:TLSv1.3"},verify_none,{certfile,"priv/ssl/fake_server.pem"},{protocol_options,"no_sslv3"}],false},<0.32349.69>},ejabberd_socket,#Ref<0.453767852.105644035.230281>,false,<<"0D90E368E90C8D90">>,{sasl_state,<<"jabber">>,<<"localhost">>,<<>>,cyrsasl_scram,{state,4,<<241,236,202,180,40,78,171,165,175,43,28,237,58,18,8,176,35,203,103,45>>,<<84,220,251,197,181,70,15,132,16,186,54,2,71,18,226,83,67,6,47,67>>,<<"3098">>,{mongoose_credentials,<<"localhost">>,[],[]},<<"n=3098,r=BGN5AcGs-t8yXeMhjN1iaSM0o1b5Kb2rhd7eXVJNWaFkoZ4vPb4zdiC5dLaik5-ARO4_U_sAvTGYJIO1uOn6ViFCsD49jFyVn5Ni52MRLS_Bl_9CB8zSvGoT5GikHsOMVv5Nlg,r=BGN5AcGs-t8yXeMhjN1iaSM0o1b5Kb2rhd7eXVJNWaFkoZ4vPb4zdiC5dLaik5-ARO4_U_sAvTGYJIO1uOn6ViFCsD49jFyVn5Ni52MRLS_Bl_9CB8zSvGoT5GikHsOMVv5NlgnM6mQCOG0cwjJh2VuqzaLQ==,s=0t0bAAmMpXR9W9pTc/7buw==,i=4096">>,<<"BGN5AcGs-t8yXeMhjN1iaSM0o1b5Kb2rhd7eXVJNWaFkoZ4vPb4zdiC5dLaik5-ARO4_U_sAvTGYJIO1uOn6ViFCsD49jFyVn5Ni52MRLS_Bl_9CB8zSvGoT5GikHsOMVv5Nlg">>,<<"nM6mQCOG0cwjJh2VuqzaLQ==">>,ejabberd_auth_rdbms},{mongoose_credentials,<<"localhost">>,[],[]}},c2s,c2s_shaper,{false,0},true,false,true,[verify_none,{certfile,"priv/ssl/fake_server.pem"},{protocol_options,["no_sslv3"]}],verify_none,resumed,{jid,<<"3098">>,<<"localhost">>,<<208,161,208,190,208,190,208,177,209,137,208,181,209,129,209,130,208,178,208,190,46,70,80,48,87>>,<<"3098">>,<<"localhost">>,<<208,161,208,190,208,190,208,177,209,137,208,181,209,129,209,130,208,178,208,190,46,70,80,48,87>>},<<"3098">>,<<"localhost">>,<<208,161,208,190,208,190,208,177,209,137,208,181,209,129,209,130,208,178,208,190,46,70,80,48,87>>,{{1583,771846,656174},<0.32350.69>},{68,{{<<"38759">>,<<"localhost">>,<<>>},{{<<"3098">>,<<"localhost">>,<<>>},{{<<"3070">>,<<"localhost">>,<<>>},{{<<"29880">>,<<"localhost">>,<<>>},{{<<"12994">>,<<"localhost">>,<<>>},{{<<"11058">>,<<"localhost">>,<<>>},{{<<"10085">>,<<"localhost">>,<<>>},nil,{{<<"10253">>,<<"localhost">>,<<>>},nil,nil}},{{<<"11574">>,<<"localhost">>,<<>>},nil,{{<<"12527">>,<<"localhost">>,<<>>},nil,{{<<"12735">>,<<"localhost">>,<<>>},nil,nil}}}},{{<<"23748">>,<<"localhost">>,<<>>},nil,{{<<"2799">>,<<"localhost">>,<<>>},nil,{{<<"29439">>,<<"localhost">>,<<>>},nil,nil}}}},{{<<"3064">>,<<"localhost">>,<<>>},{{<<"3010">>,<<"localhost">>,<<>>},nil,{{<<"3044">>,<<"localhost">>,<<>>},nil,nil}},{{<<"3065">>,<<"localhost">>,<<>>},nil,{{<<"3066">>,<<"localhost">>,<<>>},nil,{{<<"3067">>,<<"localhost">>,<<>>},nil,nil}}}}},{{<<"3079">>,<<"localhost">>,<<>>},{{<<"3074">>,<<"localhost">>,<<>>},{{<<"3071">>,<<"localhost">>,<<>>},nil,{{<<"3072">>,<<"localhost">>,<<>>},nil,{{<<"3073">>,<<"localhost">>,<<>>},nil,nil}}},{{<<"3075">>,<<"localhost">>,<<>>},nil,{{<<"3076">>,<<"localhost">>,<<>>},nil,{{<<"3077">>,<<"localhost">>,<<>>},nil,nil}}}},{{<<"3080">>,<<"localhost">>,<<>>},nil,{{<<"3081">>,<<"localhost">>,<<>>},nil,{{<<"3082">>,<<"localhost">>,<<>>},nil,{{<<"3088">>,<<"localhost">>,<<>>},nil,nil}}}}}},{{<<"3200">>,<<"localhost">>,<<>>},{{<<"31762">>,<<"localhost">>,<<>>},{{<<"3145">>,<<"localhost">>,<<>>},{{<<"3140">>,<<"localhost">>,<<>>},nil,nil},{{<<"3175">>,<<"localhost">>,<<>>},nil,nil}},nil},{{<<"3297">>,<<"localhost">>,<<>>},nil,{{<<"33428">>,<<"localhost">>,<<>>},nil,{{<<"38725">>,<<"localhost">>,<<>>},nil,nil}}}}},{{<<"5831">>,<<"localhost">>,<<>>},{{<<"4232">>,<<"localhost">>,<<>>},{{<<"3979">>,<<"localhost">>,<<>>},{{<<"39654">>,<<"localhost">>,<<>>},{{<<"39571">>,<<"localhost">>,<<>>},nil,nil},{{<<"39707">>,<<"localhost">>,<<>>},nil,nil}},{{<<"40247">>,<<"localhost">>,<<>>},nil,{{<<"40263">>,<<"localhost">>,<<>>},nil,{{<<"40286">>,<<"localhost">>,<<>>},nil,{{<<"4147">>,<<"localhost">>,<<>>},nil,{{<<"41857">>,<<"localhost">>,<<>>},nil,nil}}}}}},{{<<"5499">>,<<"localhost">>,<<>>},{{<<"4342">>,<<"localhost">>,<<>>},nil,{{<<"4637">>,<<"localhost">>,<<>>},nil,{{<<"4710">>,<<"localhost">>,<<>>},nil,{{<<"4733">>,<<"localhost">>,<<>>},nil,{...}}}}},...}},...}}},...}}} 2020-03-09 13:00:58.718 [warning] <0.7225.70>@ejabberd_c2s:handle_info:1048 event=unexpected_c2s_down_info,monitor=#Ref<0.453767852.105906179.53104>,monitored_pid=<0.32350.69> 2020-03-09 14:00:53.553 [warning] <0.27800.70>@ejabberd_c2s:handle_info:1048 event=unexpected_c2s_down_info,monitor=#Ref<0.453767852.115343362.118521>,monitored_pid=<0.27801.70>