Hi . I have 5 ejabberd 16.02 servers in cluster. those return this error:
2016-03-13 16:46:17.695 [error] <0.4450.2>@ejabberd_router:route:77 {{badrecord,jid},[{ejabberd_router,do_route,3,[{file,"src/ejabberd_router.erl"},{line,331}]},{ejabberd_router,route,3,[{file,"src/ejabberd_router.erl"},{line,75}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{ejabberd_c2s,terminate,3,[{file,"src/ejabberd_c2s.erl"},{line,1803}]},{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,740}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,247}]}]}
when processing: {{jid,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>},error,{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"to">>,<<"@mydomain.com">>},{<<"xml:lang">>,<<"en">>},{<<"id">>,<<"XD8VQ-19">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:last">>}],[]},{xmlel,<<"error">>,[{<<"code">>,<<"400">>},{<<"type">>,<<"modify">>}],[{xmlel,<<"jid-malformed">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2016-03-13 16:48:42.614 [error] <0.5622.2>@ejabberd_router:route:77 {{badrecord,jid},[{ejabberd_router,do_route,3,[{file,"src/ejabberd_router.erl"},{line,331}]},{ejabberd_router,route,3,[{file,"src/ejabberd_router.erl"},{line,75}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{ejabberd_c2s,terminate,3,[{file,"src/ejabberd_c2s.erl"},{line,1778}]},{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,740}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
when processing: {{jid,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>},error,{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"to">>,<<"@mydomain.com">>},{<<"xml:lang">>,<<"en">>},{<<"id">>,<<"tFnBe-39">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:last">>}],[]},{xmlel,<<"error">>,[{<<"code">>,<<"400">>},{<<"type">>,<<"modify">>}],[{xmlel,<<"jid-malformed">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2016-03-13 17:25:30.767 [error] <0.5986.4>@ejabberd_router:route:77 {{badrecord,jid},[{ejabberd_router,do_route,3,[{file,"src/ejabberd_router.erl"},{line,331}]},{ejabberd_router,route,3,[{file,"src/ejabberd_router.erl"},{line,75}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{ejabberd_c2s,terminate,3,[{file,"src/ejabberd_c2s.erl"},{line,1778}]},{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,740}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
when processing: {{jid,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>},error,{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"to">>,<<"@mydomain.com">>},{<<"xml:lang">>,<<"en">>},{<<"id">>,<<"cSlmP-18">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:last">>}],[]},{xmlel,<<"error">>,[{<<"code">>,<<"400">>},{<<"type">>,<<"modify">>}],[{xmlel,<<"jid-malformed">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
or this error: I think, compression module doesn't work properly.
2016-03-13 18:35:56.384 [error] <0.11648.9>@ejabberd_router:route:77 {{badrecord,jid},[{ejabberd_router,do_route,3,[{file,"src/ejabberd_router.erl"},{line,331}]},{ejabberd_router,route,3,[{file,"src/ejabberd_router.erl"},{line,75}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{ejabberd_c2s,terminate,3,[{file,"src/ejabberd_c2s.erl"},{line,1778}]},{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,740}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
when processing: {{jid,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>},error,{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"to">>,<<"@mydomain.com">>},{<<"xml:lang">>,<<"en">>},{<<"id">>,<<"d0vI7-21">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:last">>}],[]},{xmlel,<<"error">>,[{<<"code">>,<<"400">>},{<<"type">>,<<"modify">>}],[{xmlel,<<"jid-malformed">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2016-03-13 19:03:39.433 [error] <0.18504.11>@ejabberd_router:route:77 {{badrecord,jid},[{ejabberd_router,do_route,3,[{file,"src/ejabberd_router.erl"},{line,331}]},{ejabberd_router,route,3,[{file,"src/ejabberd_router.erl"},{line,75}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{ejabberd_c2s,terminate,3,[{file,"src/ejabberd_c2s.erl"},{line,1803}]},{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,740}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
when processing: {{jid,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>},error,{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"to">>,<<"@mydomain.com">>},{<<"xml:lang">>,<<"en">>},{<<"id">>,<<"2H2NG-2463">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:last">>}],[]},{xmlel,<<"error">>,[{<<"code">>,<<"400">>},{<<"type">>,<<"modify">>}],[{xmlel,<<"jid-malformed">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2016-03-13 19:06:38.738 [error] <0.15735.12> gen_fsm <0.15735.12> in state wait_for_bind terminated with reason: no match of right hand value {error,{noproc,{gen_server,call,[<0.15734.12>,{compress,<<"<compressed xmlns='http://jabber.org/protocol/compress'/>">>}]}}} in ejabberd_socket:compress/2 line 161
2016-03-13 19:06:38.738 [error] <0.15735.12> CRASH REPORT Process <0.15735.12> with 0 neighbours exited with reason: no match of right hand value {error,{noproc,{gen_server,call,[<0.15734.12>,{compress,<<"<compressed xmlns='http://jabber.org/protocol/compress'/>">>}]}}} in ejabberd_socket:compress/2 line 161 in p1_fsm:terminate/8 line 760
how to fix it?
Stream compression works
Stream compression works correctly for me, at least using Tkabber client.
When do you get those error messages, when client logins, when sends some request...? Is it 100% reproducible in your system?