[Tsung] ejabberd load, recveive <stream:error><invalid-namespace xmlns='urn:ietf:params:xml:ns:xmpp-streams'>

liufannana at sina.com liufannana at sina.com
Thu Jun 4 11:55:30 CEST 2015


Hi,
    I am using Tsung test my ejabberd server. when I add the number of message, the ejabberd server send:

        <stream:error><invalid-namespace xmlns='urn:ietf:params:xml:ns:xmpp-streams'></invalid-namespace></stream:error>

    the full log is :

        2015-06-04 17:08:54.175 [info] <0.1012.0>@ejabberd_listener:accept:313 (#Port<0.10657>) Accepted connection 192.168.254.77:45664 -> 192.168.254.77:5222 
        2015-06-04 17:08:54.176 [debug] <0.1626.0>@ejabberd_receiver:process_data:344 [Recv XML on stream] <message id='157' to='lffan.liu13 at l-ejab1.vc.cn6' type='chat'>                                    <body>qxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxczlxc</body></message> 
        2015-06-04 17:08:54.177 [debug] <0.1627.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2641212779' from='l-ejab1.vc.cn6' xml:lang='en'>,       {socket_state,gen_tcp,#Port<0.10657>,<0.1626.0>} 
        2015-06-04 17:08:54.177 [debug] <0.1627.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <stream:error><invalid-namespace xmlns='urn:ietf:params:xml:ns:xmpp-streams'></invalid-namespace></stream:error>, {socket_state,gen_tcp,#Port<0.10657>,<0.1626.0>} 
        2015-06-04 17:08:54.177 [debug] <0.1627.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] </stream:stream>, {socket_state,gen_tcp,#Port<0.10657>,<0.1626.0>}


    I don't know why the message followed connection, the normal log shuold be:

        2015-06-04 17:08:21.164 [info] <0.1012.0>@ejabberd_listener:accept:313 (#Port<0.10470>) Accepted connection 192.168.254.77:56846 -> 192.168.254.77:5222 
        2015-06-04 17:08:21.164 [debug] <0.1462.0>@ejabberd_receiver:process_data:344 [Recv XML on stream] <?xml version='1.0'?><stream:stream id='2' to='l-ejab1.vc.cn6' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'> 
        2015-06-04 17:08:21.165 [debug] <0.1463.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3887417462' from='l-ejab1.vc.cn6' version='1.0' xml:lang='en'>, {socket_state,gen_tcp,#Port<0.10470>,<0.1462.0>} 
        2015-06-04 17:08:21.165 [debug] <0.1463.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms></stream:features>, {socket_state,gen_tcp,#Port<0.10470>,<0.1462.0>} 
        2015-06-04 17:08:21.767 [debug] <0.1460.0>@ejabberd_receiver:process_data:344 [Recv XML on stream] <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' >AGxmZmFuLmxpdQBsZmZhbi5saXU=</auth> 
        2015-06-04 17:08:21.770 [info] <0.1461.0>@ejabberd_c2s:wait_for_feature_request:736 ({socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>}) Accepted authentication for lffan.liu by ejabberd_auth_odbc 
        2015-06-04 17:08:21.770 [debug] <0.1461.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>, {socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>} 
        2015-06-04 17:08:21.771 [debug] <0.1460.0>@ejabberd_receiver:process_data:344 [Recv XML on stream] <?xml version='1.0'?><stream:stream id='3' to='l-ejab1.vc.cn6' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'><iq type='set' id='4' ><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>tsung</resource></bind></iq><iq type='set' id='5' ><session xmlns='urn:ietf:params:xml:ns:xmpp-session' /></iq><presence id='6' /> 
        2015-06-04 17:08:21.771 [debug] <0.1461.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3803177662' from='l-ejab1.vc.cn6' version='1.0' xml:lang='en'>, {socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>} 
        2015-06-04 17:08:21.772 [debug] <0.1461.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <stream:features><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/><sm xmlns='urn:xmpp:sm:2'/><sm xmlns='urn:xmpp:sm:3'/></stream:features>, {socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>} 
        2015-06-04 17:08:21.772 [debug] <0.1461.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <iq id='4' type='result'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>lffan.liu at l-ejab1.vc.cn6/tsung</jid></bind></iq>, {socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>} 
        2015-06-04 17:08:21.773 [info] <0.1461.0>@ejabberd_c2s:wait_for_session:1082 ({socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>}) Opened session for lffan.liu at l-ejab1.vc.cn6/tsung 
        2015-06-04 17:08:21.773 [debug] <0.1461.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <iq type='result' id='5'/>, {socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>} 
        2015-06-04 17:08:21.776 [debug] <0.1461.0>@ejabberd_c2s:session_established2:1231 presence_update({jid,<<"lffan.liu">>,<<"l-ejab1.vc.cn6">>,<<"tsung">>,<<"lffan.liu">>,<<"l-ejab1.vc.cn6">>,<<"tsung">>}, 
{xmlel,<<"presence">>,[{<<"id">>,<<"6">>}],[]}, 
{state,{socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>},ejabberd_socket,#Ref<0.0.0.13671>,false,<<"3803177662">>,undefined,c2s,c2s_shaper,false,false,false,false,[verify_none,compression_none],true,{jid,<<"lffan.liu">>,<<"l-ejab1.vc.cn6">>,<<"tsung">>,<<"lffan.liu">>,<<"l-ejab1.vc.cn6">>,<<"tsung">>},<<"lffan.liu">>,<<"l-ejab1.vc.cn6">>,<<"tsung">>,{{1433,408900,764482},<0.1461.0>},{1,{{<<"lffan.liu">>,<<"l-ejab1.vc.cn6">>,<<>>},nil,nil}},{1,{{<<"lffan.liu">>,<<"l-ejab1.vc.cn6">>,<<>>},nil,nil}},{0,nil},{0,nil},undefined,undefined,undefined,false,{userlist,none,[],false},c2s,ejabberd_auth_odbc,{{192,168,254,77},54784},[],inactive,undefined,undefined,500,undefined,300,false,0,0,<<>>,<<>>}) 
        2015-06-04 17:08:21.777 [debug] <0.1461.0>@ejabberd_c2s:presence_update:2053 from unavail = true 
        2015-06-04 17:08:21.777 [debug] <0.1461.0>@mod_shared_roster:user_available:1066 user_available for <<"lffan.liu">> @ <<"l-ejab1.vc.cn6">> (1 resources) 
        2015-06-04 17:08:21.786 [debug] <0.1461.0>@ejabberd_c2s:send_text:1831 [Send XML on stream] <presence from='lffan.liu at l-ejab1.vc.cn6/tsung' to='lffan.liu at l-ejab1.vc.cn6/tsung' id='6'/>, {socket_state,gen_tcp,#Port<0.10468>,<0.1460.0>}

    Some body can help me, Thanks.

    



liufannana at sina.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.process-one.net/pipermail/tsung-users/attachments/20150604/e17236d5/attachment-0001.html>


More information about the Tsung-users mailing list