Pade Plugin issue

Hi,
I am trying to install Pade Plugin on Openfire 4.7.5
I have tried different version of Pade but none of them seems to work. The Jicofo component is always displaying red cross. Below is the log. Could you help please.

MucClient.lambda$getConnectAndLoginCallable$9#640: Error connecting:
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - org.jivesoftware.smack.SmackException$EndpointConnectionException: The following addresses failed: 'RFC 6120 A/AAAA Endpoint + [ failed because: java.net.SocketTimeoutException: Connect timed out, 'RFC 6120 A/AAAA Endpoint + [ failed because: java.net.SocketTimeoutException: Connect timed out, ‘RFC 6120 A/AAAA Endpoint + [’ failed because: java.net.SocketTimeoutException: Connect timed out
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at org.jivesoftware.smack.SmackException$EndpointConnectionException.from(SmackException.java:334)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:664)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:849)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:526)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$9(MucClient.java:635)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:167)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
2023.10.17 21:35:32.796 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - at java.base/java.lang.Thread.run(Thread.java:1623)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - SEVERE: [35] [xmpp_connection=client] XmppProvider.doConnect#179: Failed to connect/login: The following addresses failed: 'RFC 6120 A/AAAA Endpoint + failed because: java.net.SocketTimeoutException: Connect timed out, 'RFC 6120 A/AAAA Endpoint failed because: java.net.SocketTimeoutException: Connect timed out, 'RFC 6120 A/AAAA Endpoint + failed because: java.net.SocketTimeoutException: Connect timed out
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - org.jivesoftware.smack.SmackException$EndpointConnectionException: The following addresses failed: 'RFC 6120 A/AAAA Endpoint + failed because: java.net.SocketTimeoutException: Connect timed out, 'RFC 6120 A/AAAA Endpoint + failed because: java.net.SocketTimeoutException: Connect timed out, 'RFC 6120 A/AAAA Endpoint + failed because: java.net.SocketTimeoutException: Connect timed out
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at org.jivesoftware.smack.SmackException$EndpointConnectionException.from(SmackException.java:334)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:664)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:849)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:526)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at org.jitsi.jicofo.xmpp.XmppProvider.doConnect(XmppProvider.kt:165)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at org.jitsi.jicofo.xmpp.XmppProvider.start$lambda-1(XmppProvider.kt:125)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:167)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
2023.10.17 21:35:32.920 DEBUG [Thread-29]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - at java.base/java.lang.Thread.run(Thread.java:1623)
2023.10.17 21:35:37.364 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - WARNING: [31] [hostname= id=shard] MucClient.setPresenceExtensions#467: Cannot set presence extension: not connected.
2023.10.17 21:35:42.363 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - WARNING: [31] [hostname= id=shard] MucClient.setPresenceExtensions#467: Cannot set presence extension: not connected.
2023.10.17 21:35:45.962 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: sessions. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.966 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: server_bytes. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.970 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_occupants. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.974 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: proxyTransferRate. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.978 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: conversations. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.982 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_traffic. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.986 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: packet_count. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.989 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_rooms. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.990 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.muc.spi.MUCPersistenceManager - Counting rooms for service ‘conference’ in the database.
2023.10.17 21:35:45.990 TRACE [pool-monitoring14]: org.jivesoftware.openfire.muc.MultiUserChatManager - Loaded service ID for MUC service ‘conference’
2023.10.17 21:35:45.990 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.muc.spi.MUCPersistenceManager - Counting rooms for service ‘lobby’ in the database.
2023.10.17 21:35:45.991 TRACE [pool-monitoring14]: org.jivesoftware.openfire.muc.MultiUserChatManager - Loaded service ID for MUC service ‘lobby’
2023.10.17 21:35:45.995 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: server_sessions. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:45.999 DEBUG [pool-monitoring14]: org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_users. Last sample: 1697578440. New sample: 1697578500
2023.10.17 21:35:47.364 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - WARNING: [31] [hostname= id=shard] MucClient.setPresenceExtensions#467: Cannot set presence extension: not connected.
2023.10.17 21:35:52.363 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - WARNING: [31] [hostname= id=shard] MucClient.setPresenceExtensions#467: Cannot set presence extension: not connected.
2023.10.17 21:35:55.817 DEBUG [DefaultQuartzScheduler_QuartzSchedulerThread]: org.quartz.core.QuartzSchedulerThread - batch acquisition of 0 triggers
2023.10.17 21:35:57.364 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - WARNING: [31] [hostname= id=shard] MucClient.setPresenceExtensions#467: Cannot set presence extension: not connected.
2023.10.17 21:36:02.363 DEBUG [Thread-25]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - WARNING: [31] [hostname= id=shard] MucClient.setPresenceExtensions#467: Cannot set presence extension: not connected.

Looks like you have a connection issue

See GitHub - igniterealtime/openfire-pade-plugin: A plugin for Openfire that offers web-based unified communications - chat, groupchat, telephone, audio and video conferencing.

Check that the user sessions and the room occupants

Hi @Dele_Olajide

Thanks for the response. In openfire log I am seeing Jicofo {host=null, port=8888} - Please see attached.
But i guess this host is automatically picked up pade plugin code. Is that correct? do i need to set anything on server side?

Could you let me know. Thank you.

image

Looking at the code, I can see that it is using the server host name

Yeah, i looked at this file and particularly the line you’re referring to. i can see the server hostname(FQDN) on our environment but puzzled why it is not being picked up by the code at line 91 in JitsiJicofoWrapper.java.

Let me see if I can reproduce what you are experiencing :thinking:

Thank you @Dele_Olajide

image

The null value for host is not what is causing your connection problem. The null value causes Jicofo to bind to all available IP addresses on port 8888.

Check the generated command to startup jicofo in your log especially the password. This is mine

C:\Program Files\Java\jdk-18.0.2.1\bin\java.exe -Dconfig.file=D:\Openfire\openfire_4_7_5\plugins\pade\classes\jicofo\application.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=D:\Openfire\openfire_4_7_5\plugins\pade\classes\jicofo -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=config -Djava.util.logging.config.file=./logging.properties -Djdk.tls.ephemeralDHKeySize=2048 -cp ./jicofo-1.1-SNAPSHOT.jar;./jicofo-1.1-SNAPSHOT-jar-with-dependencies.jar org.jitsi.jicofo.Main --host=localhost --port=5275 --domain=localhost --secret=Ga0UDiRv02BbjRFsobxpNdf0LVe7g0lLMoZ4WgxU --user_domain=localhost --user_name=focus --user_password=Wqm3pSqWaPwDOBb9rgfVUD1shzqQaVOKj0RiSrCt

i have similar command only difference is in the hostname, although we are using Amazon correto 20.0.2

@Dele_Olajide We are using Kubenetes. Do you think that may require some additional config?

@Dele_Olajide
Could you let me know if i need this “network.interface” property on the server. If so what should this be? Thank you.

As you probably know, this setting is in OPENFIRE_HOME/conf/openfire.xml

My network configuration knowledge is very poor. I am not in a position to advise you on using Openfire with Amazon and Kubernetes in a container.