powered by Jive Software

No response after trying to join a MUC with the new "MucEnterConfiguration"

The code:

	try {
				//Get user daily task
                EntityBareJid mucsJid = JidCreate.entityBareFrom(localConnection.getBusinessName() + "@tasks.openfire.local.com");
                MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(localConnection.connection);
				// Get a MultiUserChat using MultiUserChatManager
				muc = manager.getMultiUserChat(mucsJid);

				MucEnterConfiguration.Builder mec = muc.getEnterConfigurationBuilder(Resourcepart.from(localConnection.connection.getUser().getLocalpartOrThrow().toString() ));
				MucEnterConfiguration.Builder builder = mec.requestHistorySince(new Date());
				MucEnterConfiguration build = builder.build();
				muc.join(build);
				
			} catch (XmppStringprepException e) {
				e.printStackTrace();
			} catch (InterruptedException e) {
				e.printStackTrace();
			} catch (XMPPException.XMPPErrorException e) {
				e.printStackTrace();
			} catch (SmackException.NotConnectedException e) {
				e.printStackTrace();
			} catch (SmackException.NoResponseException e) {
				e.printStackTrace();
			} catch (MultiUserChatException.NotAMucServiceException e) {
				e.printStackTrace();
}

The Exception:

com.auto.Sponge W/System.err: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 10000ms (~10s). Waited for response using: AndFilter: (StanzaTypeFilter: Presence, OrFilter: (AndFilter: (FromMatchesFilter (ignoreResourcepart): tcd@tasks.openfire.local.com, MUCUserStatusCodeFilter: status=110), AndFilter: (FromMatchesFilter (full): tcd@tasks.openfire.local.com/takticcode!gmail.com, StanzaIdFilter: id=Ska8Q-46, PresenceTypeFilter: type=error))).
com.auto.*****W/System.err:     at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:260)
com.auto.*****W/System.err:     at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:355)
com.auto.*****W/System.err:     at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:498)
com.auto.*****W/System.err:     at com.auto.*****.MenuActivity$SetupTask.GetUserDailyTask(MenuActivity.java:299)
com.auto.*****W/System.err:     at com.auto.*****.MenuActivity$SetupTask.doInBackground(MenuActivity.java:244)
com.auto.*****W/System.err:     at com.auto.*****.MenuActivity$SetupTask.doInBackground(MenuActivity.java:234)
com.auto.*****W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:333)
com.auto.*****W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
com.auto.*****W/System.err:     at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
com.auto.*****W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
com.auto.*****W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
com.auto.***** W/System.err:     at java.lang.Thread.run(Thread.java:764)