Project

General

Profile

remove roster

Lonely Lonely
Added over 4 years ago

Hi,

I want to delete a roster.I sent a request to the server, the server continues to reply, make the program into an infinite loop.The following is a program to print the log.

2014-11-28 09:49:21:868 aiba[10094:2b0f] SEND: <iq type="set"><query xmlns="jabber:iq:roster"><item jid="100000116@im001.i8i8i8.com" subscription="remove"/></query></iq>
2014-11-28 09:49:21.869 aiba[10094:1450620] 更新成功
2014-11-28 09:49:22:056 aiba[10094:3e0f] RECV: <iq xmlns="jabber:client" id="rsttig3" type="set" to="100000138@im001.i8i8i8.com/xmpp"><query xmlns="jabber:iq:roster" ver=""><item subscription="remove" jid="100000116@im001.i8i8i8.com"/></query></iq>
2014-11-28 09:49:22:056 aiba[10094:607] HLXMPPClient: xmppStream:didReceiveIQ:
2014-11-28 09:49:22:057 aiba[10094:821f] SEND: <iq type="set"><query xmlns="jabber:iq:roster"><item jid="100000116@im001.i8i8i8.com" subscription="remove"/></query></iq>
2014-11-28 09:49:22:256 aiba[10094:2b0f] RECV: <iq xmlns="jabber:client" type="result" to="100000138@im001.i8i8i8.com/xmpp"/>
2014-11-28 09:49:22:256 aiba[10094:607] HLXMPPClient: xmppStream:didReceiveIQ:
2014-11-28 09:49:22:468 aiba[10094:821f] RECV: <iq xmlns="jabber:client" id="rsttig4" type="set" to="100000138@im001.i8i8i8.com/xmpp"><query xmlns="jabber:iq:roster" ver=""><item subscription="remove" jid="100000116@im001.i8i8i8.com"/></query></iq>
2014-11-28 09:49:22:468 aiba[10094:607] HLXMPPClient: xmppStream:didReceiveIQ:
2014-11-28 09:49:22:468 aiba[10094:821f] RECV: <iq xmlns="jabber:client" type="result" to="100000138@im001.i8i8i8.com/xmpp"/>
2014-11-28 09:49:22:469 aiba[10094:6dd3] SEND: <iq type="set"><query xmlns="jabber:iq:roster"><item jid="100000116@im001.i8i8i8.com" subscription="remove"/></query></iq>
2014-11-28 09:49:22:470 aiba[10094:607] HLXMPPClient: xmppStream:didReceiveIQ:
2014-11-28 09:49:22:674 aiba[10094:3e0f] RECV: <iq xmlns="jabber:client" id="rsttig5" type="set" to="100000138@im001.i8i8i8.com/xmpp"><query xmlns="jabber:iq:roster" ver=""><item subscription="remove" jid="100000116@im001.i8i8i8.com"/></query></iq>
2014-11-28 09:49:22:675 aiba[10094:607] HLXMPPClient: xmppStream:didReceiveIQ:
2014-11-28 09:49:22:675 aiba[10094:6dd3] SEND: <iq type="set"><query xmlns="jabber:iq:roster"><item jid="100000116@im001.i8i8i8.com" subscription="remove"/></query></iq>
2014-11-28 09:49:22:863 aiba[10094:821f] RECV: <iq xmlns="jabber:client" type="result" to="100000138@im001.i8i8i8.com/xmpp"/>
2014-11-28 09:49:22:863 aiba[10094:607] HLXMPPClient: xmppStream:didReceiveIQ:
2014-11-28 09:49:23:060 aiba[10094:821f] RECV: <iq xmlns="jabber:client" id="rsttig6" type="set" to="100000138@im001.i8i8i8.com/xmpp"><query xmlns="jabber:iq:roster" ver=""><item subscription="remove" jid="100000116@im001.i8i8i8.com"/></query></iq>
2014-11-28 09:49:23:060 aiba[10094:607] HLXMPPClient: xmppStream:didReceiveIQ:
2014-11-28 09:49:23:060 aiba[10094:821f] RECV: <iq xmlns="jabber:client" type="result" to="100000138@im001.i8i8i8.com/xmpp"/>

Please help me,Thanks!


Replies (2)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 4 years ago

The server responds and behaves correctly. It follows the spec. It appears that your client behaves incorrectly sending roster item removal request over and over again.

Added by Lonely Lonely over 4 years ago

Yes, I really was at the time the server returned repeated calls delete roster. Thank you for your help.

    (1-2/2)