powered by Jive Software

No response received within reply timeout. Timeout was 30000ms (~30s) on muc.join

Smack 4.4.0

  at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:281)
  at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:396)
  at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:709)
  at com.pesamoja.xmpp.ChatConnection.joinMultiUserChat(ChatConnection.java:554)
  at com.pesamoja.xmpp.ChatService.lambda$joinAllGroups$2$ChatService(ChatService.java:340)
  at com.pesamoja.xmpp.-$$Lambda$ChatService$nplZqmwD7MUMiqioo33g8-kS0eA.accept(Unknown Source:4)
  at io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65)
  at io.reactivex.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:407)
  at io.reactivex.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:176)
  at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
  at android.os.Handler.handleCallback(Handler.java:790)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:192)
  at android.app.ActivityThread.main(ActivityThread.java:6754)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:549)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:828)
    public void joinMultiUserChat(String user, String roomsName) {
        MultiUserChat muc = null;
        try {
            // Create a MultiUserChat window using XMPPConnection
            if (connection == null) {
            if (multiUserChatManager == null) {
                multiUserChatManager = MultiUserChatManager.getInstanceFor(connection);
            muc = multiUserChatManager.getMultiUserChat(JidCreate.entityBareFrom(roomsName));
            MucEnterConfiguration mucEnterConfiguration = muc.getEnterConfigurationBuilder(Resourcepart.from(user))

                // Users to join in the chat room
                System.out.println("The conference room success....");
        } catch (SmackException.NotConnectedException | SmackException.NoResponseException | XmppStringprepException | InterruptedException | MultiUserChatException.NotAMucServiceException | XMPPException e) {
            System.out.println("The conference room to fail....");

i have this problem too, if you have any advice,please tell me ,thanx very much

this issue is caused because of room chat settings make sure when you create room these options are checked for the broadcast presence

and if your’re creating group from api use this


Unfortunately, with openfire v4.6.3, the REST API to create and update room does not set the correct values for broadcast presence for as mentioned above. As per other users, this issue is persistent since openfire v4.6.1. And this seems to be openfire issue and not that of Rest API client. More info: https://github.com/igniterealtime/openfire-restAPI-plugin/issues/49

It only works if you select the checkboxes via web admin portal as shown in the above screenshot. Unfortunately, for our use case, we need to create rooms via API and hence we are stuck. We will have to downgrade to 4.6.0 or earlier to have this working. By doing this, we lose lots of fixes that were done in the latest feature.

@guus Please guide if you see a fix for this coming anytime soon. Appreciate all the good work that team has been doing. Would be great if this issue can be addressed soon.