4 Replies Latest reply on Feb 20, 2017 7:05 AM by Grigory Fedorov

    MUC presence error does not collected

    Grigory Fedorov

      I send presence to join MUC using MultiUserChat.join(Resourcepart nickname), server responded with auth error presence, but it was not collected.

      Checked on Smack 4.2-rc3 also.

       

      19:04:35 SENT (0): <presence to='d51e7fa0-ffb6-40e9-a0d2-56a351036557@conference.example.com/grigory.fedorov' id='7kn80-906'><x xmlns='http://jabber.org/protocol/muc'></x></presence>

      19:04:35 RECV (0): <presence from='d51e7fa0-ffb6-40e9-a0d2-56a351036557@conference.example.com/grigory.fedorov' to='grigory.fedorov@example.com/133543665057254735881487340179578892' type='error' xml:lang='en' id='7kn80-906'><x xmlns='http://jabber.org/protocol/muc'/><x xmlns='vcard-temp:x:update'><photo/></x><error code='407' type='auth'><registration-required xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Membership is required to enter this room</text></error></presence>

       

      19:05:05.203 W/System.err: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 30000ms (~30s). Waited for response using: AndFilter: (FromMatchesFilter (ignoreResourcepart): d51e7fa0-ffb6-40e9-a0d2-56a351036557@conference.example.com, StanzaTypeFilter: Presence, MUCUserStatusCodeFilter: status=110).

           at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:2 53)

           at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:335)

           at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:691)

           at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:583)

           at com.xabber.android.data.extension.muc.RoomContact$1.run(RoomContact.java:197)

           at com.xabber.android.data.application.Application$6.run(Application.java:439)

           at java.lang.Thread.run(Thread.java:761)