[Tsung] Tsung-users Digest, Vol 105, Issue 1

liufannana at sina.com liufannana at sina.com
Thu Jun 4 12:53:27 CEST 2015


Hi All,
    I check the log file, find some message,:


NewClient:1433414175.876276:1 
load:1 
Send:1433414175.897194:<0.93.0>:<?xml version='1.0'?><stream:stream id='1' to='l-ejab1.vc.cn6' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'> 
Recv:1433414175.898559:<0.93.0>:<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3477264338' from='l-ejab1.vc.cn6' version='1.0' xml:lang='en'> 
Recv:1433414175.898821:<0.93.0>:<stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms></stream:features> 
NewClient:1433414176.468177:1 
load:2 
Send:1433414176.471016:<0.96.0>:<?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'> 
Recv:1433414176.472392:<0.96.0>:<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3539923254' from='l-ejab1.vc.cn6' version='1.0' xml:lang='en'> 
Recv:1433414176.472615:<0.96.0>:<stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms></stream:features> 
NewClient:1433414176.757705:1 
load:3 
Send:1433414176.759913:<0.97.0>:<?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'> 
Recv:1433414176.76128:<0.97.0>:<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3100246932' from='l-ejab1.vc.cn6' version='1.0' xml:lang='en'> 
Recv:1433414176.761367:<0.97.0>:<stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms></stream:features> 
Send:1433414176.900628:<0.93.0>:<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' >AHh1ZWppZS5iaQB4dWVqaWUuYmk=</auth> 
Send:1433414176.90098:<0.93.0>:<?xml version='1.0'?><stream:stream id='4' to='l-ejab1.vc.cn6' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'> 
Send:1433414176.901212:<0.93.0>:<iq type='set' id='5' ><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>tsung</resource></bind></iq> 
Send:1433414176.901396:<0.93.0>:<iq type='set' id='6' ><session xmlns='urn:ietf:params:xml:ns:xmpp-session' /></iq> 
Send:1433414176.90172:<0.93.0>:<presence id='7' /> 
Recv:1433414176.903859:<0.93.0>:<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/> 
Recv:1433414176.904568:<0.93.0>:<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4254214757' from='l-ejab1.vc.cn6' version='1.0' xml:lang='en'> 
Recv:1433414176.904715:<0.93.0>:<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> 
Recv:1433414176.905021:<0.93.0>:<iq id='5' type='result'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>xuejie.bi at l-ejab1.vc.cn6/tsung</jid></bind></iq> 
Recv:1433414176.905098:<0.93.0>:<iq type='result' id='6'/> 
Recv:1433414176.912783:<0.93.0>:<presence from='xuejie.bi at l-ejab1.vc.cn6/tsung' to='xuejie.bi at l-ejab1.vc.cn6/tsung' id='7'/> 
Send:1433414177.47234:<0.96.0>:<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' >AHh1ZWppZS5iaQB4dWVqaWUuYmk=</auth> 
Send:1433414177.472642:<0.96.0>:<?xml version='1.0'?><stream:stream id='8' to='l-ejab1.vc.cn6' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'> 
Send:1433414177.472879:<0.96.0>:<iq type='set' id='9' ><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>tsung</resource></bind></iq> 
Send:1433414177.473056:<0.96.0>:<iq type='set' id='10' ><session xmlns='urn:ietf:params:xml:ns:xmpp-session' /></iq> 
Send:1433414177.473268:<0.96.0>:<presence id='11' /> 
Recv:1433414177.477051:<0.96.0>:<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/> 
Recv:1433414177.477595:<0.96.0>:<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='211267131' from='l-ejab1.vc.cn6' version='1.0' xml:lang='en'> 
Recv:1433414177.477845:<0.96.0>:<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> 
Recv:1433414177.478021:<0.96.0>:<iq id='9' type='result'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>xuejie.bi at l-ejab1.vc.cn6/tsung</jid></bind></iq> 
Recv:1433414177.478214:<0.96.0>:<iq type='result' id='10'/> 
Recv:1433414177.480592:<0.93.0>:<stream:error><conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'></conflict><text xml:lang='' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>Replaced by new connection</text></stream:error></stream:stream> 
Recv:1433414177.487525:<0.96.0>:<presence from='xuejie.bi at l-ejab1.vc.cn6/tsung' to='xuejie.bi at l-ejab1.vc.cn6/tsung' type='unavailable'><status>Replaced by new connection</status></presence> 
Recv:1433414177.487825:<0.96.0>:<presence from='xuejie.bi at l-ejab1.vc.cn6/tsung' to='xuejie.bi at l-ejab1.vc.cn6/tsung' id='11'/> 
Send:1433414177.761507:<0.97.0>:<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' >AHh1ZWppZS5iaQB4dWVqaWUuYmk=</auth> 
Send:1433414177.761858:<0.97.0>:<?xml version='1.0'?><stream:stream id='12' to='l-ejab1.vc.cn6' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'> 
Send:1433414177.76204:<0.97.0>:<iq type='set' id='13' ><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>tsung</resource></bind></iq> 
Send:1433414177.762205:<0.97.0>:<iq type='set' id='14' ><session xmlns='urn:ietf:params:xml:ns:xmpp-session' /></iq>
    
    Maybe the resource is same , and lead to the :<stream:error><conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'></conflict><text xml:lang='' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>Replaced by new connection</text></stream:error></stream:stream> 


liufannana at sina.com
 
From: tsung-users-request
Date: 2015-06-04 17:55
To: tsung-users
Subject: Tsung-users Digest, Vol 105, Issue 1
 
Send Tsung-users mailing list submissions to
tsung-users at lists.process-one.net
 
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.process-one.net/mailman/listinfo/tsung-users
or, via email, send a message with subject or body 'help' to
tsung-users-request at lists.process-one.net
 
You can reach the person managing the list at
tsung-users-owner at lists.process-one.net
 
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tsung-users digest..."
 
 
Today's Topics:
 
   1. ejabberd load, recveive <stream:error><invalid-namespace
      xmlns='urn:ietf:params:xml:ns:xmpp-streams'> (liufannana at sina.com)
 
 
----------------------------------------------------------------------
 
Message: 1
Date: Thu, 4 Jun 2015 17:55:30 +0800
From: "liufannana at sina.com" <liufannana at sina.com>
To: tsung-users <tsung-users at lists.process-one.net>
Subject: [Tsung] ejabberd load, recveive
<stream:error><invalid-namespace
xmlns='urn:ietf:params:xml:ns:xmpp-streams'>
Message-ID: <2015060417552953372910 at sina.com>
Content-Type: text/plain; charset="us-ascii"
 
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>qxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtg
limieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxcqxvmvtglimieyhemzlxczlxc</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.html>
 
------------------------------
 
Subject: Digest Footer
 
_______________________________________________
Tsung-users mailing list
Tsung-users at lists.process-one.net
https://lists.process-one.net/mailman/listinfo/tsung-users
 
 
------------------------------
 
End of Tsung-users Digest, Vol 105, Issue 1
*******************************************
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.process-one.net/pipermail/tsung-users/attachments/20150604/acdb595c/attachment-0001.html>


More information about the Tsung-users mailing list