Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

NoResponseException Occured when join a room

$
0
0

When "invitationReceived" get an invitation, i use

DiscussionHistory history = new DiscussionHistory();
history.setMaxStanzas(20);
multiUserChat.join(RuntimeConstants.LoginUsername, password, history,timeout);

to join a room.

But it throw NoResponseException after "timeout" seconds.

I debugged the code in file AbstractXMPPConnection in method createPacketCollectorAndSend in line 649.

2014-12-02_00106.pngThe "resultQueue" filed in "packetCollector" is always empty.

Smack version is 4.1.0 alpha5

log:

SENT:

<presence id='yBjsG-11' to='aaaaa_og6@conference.bzwang/bbbbb'><x xmlns='http://jabber.org/protocol/muc'><history maxstanzas='20'/></x></presence>

 

RCV:

<presence id="LTu9Q-81" to="bbbbb@bzwang/Smack" from="aaaaa_og6@conference.bzwang/aaaaa"><x xmlns="vcard-temp:x:update"><photo>72d317a59bd28792676a28c19676df928f17abd6</ph oto></x><x xmlns="jabber:x:avatar"><hash>72d317a59bd28792676a28c19676df928f17abd6</hash></ x><x xmlns="http://jabber.org/protocol/muc#user"><item jid="aaaaa@bzwang/Spark 2.6.3" affiliation="owner" role="moderator"/></x></presence>

<presence id="yBjsG-11" to="bbbbb@bzwang/Smack" from="aaaaa_og6@conference.bzwang/bbbbb"><x xmlns="http://jabber.org/protocol/muc#user"><item jid="bbbbb@bzwang/Smack" affiliation="none" role="participant"/></x></presence>

 

Is the RCV Log has something wrong?

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 10742

Trending Articles