[jitsi-dev] Problem with running Jicofo


#1

Hello,

I'm trying to follow the tutorial on https://github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md and can't pass the Jicofo step. When I run ./jicofo.sh I've the following problems :

2015-10-28 17:18:29.235 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes
2015-10-28 17:18:29.236 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor=Oracle Corporation
2015-10-28 17:18:29.236 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() file.separator=/
2015-10-28 17:18:29.236 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2015-10-28 17:18:29.237 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.io.unicode.encoding=UnicodeLittle
2015-10-28 17:18:29.237 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.cpu.endian=little
2015-10-28 17:18:29.237 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.cpu.isalist=
2015-10-28 17:18:29.238 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal classloader
2015-10-28 17:18:29.242 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-defaults.properties with class loader, will continue without it.
2015-10-28 17:18:29.243 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal classloader
2015-10-28 17:18:29.243 INFOS: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
2015-10-28 17:18:29.349 INFOS: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().81 Network Address Manager ...[ STARTED ]
2015-10-28 17:18:29.349 INFOS: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().87 Network Address Manager Service ...[REGISTERED]
2015-10-28 17:18:29.448 INFOS: [10] org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903
2015-10-28 17:18:29.486 INFOS: [10] org.eclipse.jetty.server.AbstractConnector.doStart() Started SelectChannelConnector@0.0.0.0:8888
2015-10-28 17:18:29.492 INFOS: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
2015-10-28 17:18:29.492 INFOS: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator
2015-10-28 17:18:29.493 INFOS: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root
2015-10-28 17:18:29.500 INFOS: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().181 Component org.jitsi.jicofo. config:
2015-10-28 17:18:29.503 INFOS: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().182 ping interval: 10000 ms
2015-10-28 17:18:29.503 INFOS: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().183 ping timeout: 5000 ms
2015-10-28 17:18:29.503 INFOS: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().184 ping threshold: 3
2015-10-28 17:18:34.587 GRAVE: [27] org.jitsi.meet.ComponentMain.call().271 java.net.UnknownHostException: im.alpi.fr, host:im.alpi.fr, port:5347
org.xmpp.component.ComponentException: java.net.UnknownHostException: im.alpi.fr
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:263)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:263)
        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:248)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.UnknownHostException: im.alpi.fr
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:579)
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:151)
        ... 12 more
2015-10-28 17:18:34.596 GRAVE: [28] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.error() Failed to connect: Could not connect to im.alpi.fr:5222.
Could not connect to im.alpi.fr:5222.: remote-server-timeout(504) Could not connect to im.alpi.fr:5222.
  -- caused by: java.net.UnknownHostException: im.alpi.fr
        at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:522)
        at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:968)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:211)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.access$000(XmppProtocolProvider.java:46)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:192)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:187)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Nested Exception:
java.net.UnknownHostException: im.alpi.fr
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
        at java.net.Socket.connect(Socket.java:579)
        at java.net.Socket.connect(Socket.java:528)
        at org.jivesoftware.smack.proxy.DirectSocketFactory.createSocket(DirectSocketFactory.java:28)
        at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:517)
        at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:968)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:211)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.access$000(XmppProtocolProvider.java:46)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:192)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:187)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
^C2015-10-28 17:18:35.984 GRAVE: [1] util.UtilActivator.uncaughtException().119 An uncaught exception occurred in thread=Thread[main,5,main] and message was: null
java.lang.NullPointerException
        at org.xmpp.component.AbstractComponent.closeQueue(AbstractComponent.java:893)
        at org.xmpp.component.AbstractComponent.shutdown(AbstractComponent.java:875)
        at org.jitsi.meet.ComponentMain.stopComponent(ComponentMain.java:221)
        at org.jitsi.meet.ComponentMain.runMainProgramLoop(ComponentMain.java:167)
        at org.jitsi.jicofo.Main.main(Main.java:185)

So I try to make a dns entry like this :
192.168.x.x im.alpi.fr

But after it's the connection who's failed :

2015-10-28 17:25:09.680 GRAVE: [27] org.jitsi.meet.ComponentMain.call().271 java.net.ConnectException: Connexion refusée, host:im.alpi.fr, port:5347
org.xmpp.component.ComponentException: java.net.ConnectException: Connexion refusée
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:272)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:263)
        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:248)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connexion refusée
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:579)
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:151)
        ... 12 more
2015-10-28 17:25:10.261 GRAVE: [28] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.error() Failed to connect: SASL authentication DIGEST-MD5 failed: not-authorized
SASL authentication DIGEST-MD5 failed: not-authorized:
        at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:341)
        at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:208)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:224)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.access$000(XmppProtocolProvider.java:46)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:192)
        at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:187)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
^C2015-10-28 17:25:12.421 GRAVE: [1] util.UtilActivator.uncaughtException().119 An uncaught exception occurred in thread=Thread[main,5,main] and message was: null
java.lang.NullPointerException
        at org.xmpp.component.AbstractComponent.closeQueue(AbstractComponent.java:893)
        at org.xmpp.component.AbstractComponent.shutdown(AbstractComponent.java:875)
        at org.jitsi.meet.ComponentMain.stopComponent(ComponentMain.java:221)
        at org.jitsi.meet.ComponentMain.runMainProgramLoop(ComponentMain.java:167)
        at org.jitsi.jicofo.Main.main(Main.java:185)

Is there something I miss ?

Or is there an error in tutorial ?

Thanks in advance for help

Cordialement,

Estrada Matthieu
Service Informatique / Intégration
Tél : +33 1 47 52 36 51

www.alpi-software.com


#2

Hi,

try passing --host=localhost to the jicofo.sh, does this change anything?
By default prosody is listening for components on localhost (port 5347).

Regards
damencho

···

On Wed, Oct 28, 2015 at 11:30 AM, Matthieu Estrada <m.estrada@alpi.fr> wrote:

Hello,

I’m trying to follow the tutorial on
https://github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md and
can’t pass the Jicofo step. When I run ./jicofo.sh I’ve the following
problems :

2015-10-28 17:18:29.235 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes

2015-10-28 17:18:29.236 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vendor=Oracle Corporation

2015-10-28 17:18:29.236 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
file.separator=/

2015-10-28 17:18:29.236 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vendor.url.bug=http://bugreport.sun.com/bugreport/

2015-10-28 17:18:29.237 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.io.unicode.encoding=UnicodeLittle

2015-10-28 17:18:29.237 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.cpu.endian=little

2015-10-28 17:18:29.237 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.cpu.isalist=

2015-10-28 17:18:29.238 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal
classloader

2015-10-28 17:18:29.242 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to
find jitsi-defaults.properties with class loader, will continue without it.

2015-10-28 17:18:29.243 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal
classloader

2015-10-28 17:18:29.243 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to
find jitsi-default-overrides.properties with class loader, will continue
without it.

2015-10-28 17:18:29.349 INFOS: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().81 Network Address
Manager ...[ STARTED ]

2015-10-28 17:18:29.349 INFOS: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().87 Network Address
Manager Service ...[REGISTERED]

2015-10-28 17:18:29.448 INFOS: [10]
org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903

2015-10-28 17:18:29.486 INFOS: [10]
org.eclipse.jetty.server.AbstractConnector.doStart() Started
SelectChannelConnector@0.0.0.0:8888

2015-10-28 17:18:29.492 INFOS: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false

2015-10-28 17:18:29.492 INFOS: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator

2015-10-28 17:18:29.493 INFOS: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root

2015-10-28 17:18:29.500 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().181 Component
org.jitsi.jicofo. config:

2015-10-28 17:18:29.503 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().182 ping interval:
10000 ms

2015-10-28 17:18:29.503 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().183 ping timeout:
5000 ms

2015-10-28 17:18:29.503 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().184 ping threshold: 3

2015-10-28 17:18:34.587 GRAVE: [27] *org.jitsi.meet.ComponentMain.call().271
java.net.UnknownHostException: im.alpi.fr <http://im.alpi.fr>,
host:im.alpi.fr <http://im.alpi.fr>, port:5347*

*org.xmpp.component.ComponentException: java.net.UnknownHostException:
im.alpi.fr <http://im.alpi.fr>*

        at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:263)

        at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)

        at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)

        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:263)

        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:248)

        at
org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

Caused by: java.net.UnknownHostException: im.alpi.fr

        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

        at java.net.Socket.connect(Socket.java:579)

        at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:151)

        ... 12 more

2015-10-28 17:18:34.596 GRAVE: [28]
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.error() Failed to
connect: Could not connect to im.alpi.fr:5222.

Could not connect to im.alpi.fr:5222.: remote-server-timeout(504) Could
not connect to im.alpi.fr:5222.

  -- caused by: java.net.UnknownHostException: im.alpi.fr

        at
org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:522)

        at
org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:968)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:211)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.access$000(XmppProtocolProvider.java:46)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:192)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:187)

        at
org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

Nested Exception:

java.net.UnknownHostException: im.alpi.fr

        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)

        at java.net.Socket.connect(Socket.java:579)

        at java.net.Socket.connect(Socket.java:528)

        at
org.jivesoftware.smack.proxy.DirectSocketFactory.createSocket(DirectSocketFactory.java:28)

        at
org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:517)

        at
org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:968)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:211)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.access$000(XmppProtocolProvider.java:46)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:192)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:187)

        at
org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

^C2015-10-28 17:18:35.984 GRAVE: [1]
util.UtilActivator.uncaughtException().119 An uncaught exception occurred
in thread=Thread[main,5,main] and message was: null

java.lang.NullPointerException

        at
org.xmpp.component.AbstractComponent.closeQueue(AbstractComponent.java:893)

        at
org.xmpp.component.AbstractComponent.shutdown(AbstractComponent.java:875)

        at
org.jitsi.meet.ComponentMain.stopComponent(ComponentMain.java:221)

        at
org.jitsi.meet.ComponentMain.runMainProgramLoop(ComponentMain.java:167)

        at org.jitsi.jicofo.Main.main(Main.java:185)

So I try to make a dns entry like this :

192.168.x.x im.alpi.fr

But after it’s the connection who’s failed :

2015-10-28 17:25:09.680 GRAVE: [27]
org.jitsi.meet.ComponentMain.call().271 java.net.ConnectException:
Connexion refusée, host:im.alpi.fr, port:5347

org.xmpp.component.ComponentException: java.net.ConnectException:
Connexion refusée

        at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:272)

        at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)

        at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)

        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:263)

        at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:248)

        at
org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

Caused by: java.net.ConnectException: Connexion refusée

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

        at java.net.Socket.connect(Socket.java:579)

        at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:151)

        ... 12 more

2015-10-28 17:25:10.261 GRAVE: [28]
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.error() Failed to
connect: SASL authentication DIGEST-MD5 failed: not-authorized

SASL authentication DIGEST-MD5 failed: not-authorized:

        at
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:341)

        at
org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:208)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:224)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.access$000(XmppProtocolProvider.java:46)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:192)

        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$1.call(XmppProtocolProvider.java:187)

        at
org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

^C2015-10-28 17:25:12.421 GRAVE: [1]
util.UtilActivator.uncaughtException().119 An uncaught exception occurred
in thread=Thread[main,5,main] and message was: null

java.lang.NullPointerException

        at
org.xmpp.component.AbstractComponent.closeQueue(AbstractComponent.java:893)

        at
org.xmpp.component.AbstractComponent.shutdown(AbstractComponent.java:875)

        at
org.jitsi.meet.ComponentMain.stopComponent(ComponentMain.java:221)

        at
org.jitsi.meet.ComponentMain.runMainProgramLoop(ComponentMain.java:167)

        at org.jitsi.jicofo.Main.main(Main.java:185)

Is there something I miss ?

Or is there an error in tutorial ?

Thanks in advance for help

Cordialement,
------------------------------

*Estrada Matthieu*

Service Informatique / Intégration

Tél : +33 1 47 52 36 51

www.alpi-software.com

[image: Youtube] <https://www.youtube.com/ALPICaneco> [image: Linkedin]
<https://www.linkedin.com/company/alpi> [image: Twitter]
<http://twitter.com/Alpi_Caneco>

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Your XMPP server doesn't know about the component that jicofo is trying to use. Have you configured the "jicofo" component in prosody?

Boris

···

On 28/10/15 11:30, Matthieu Estrada wrote:

Hello,

I’m trying to follow the tutorial on
https://github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md
and can’t pass the Jicofo step. When I run ./jicofo.sh I’ve the
following problems :

2015-10-28 17:18:29.235 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes

2015-10-28 17:18:29.236 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vendor=Oracle Corporation

2015-10-28 17:18:29.236 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
file.separator=/

2015-10-28 17:18:29.236 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vendor.url.bug=http://bugreport.sun.com/bugreport/

2015-10-28 17:18:29.237 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.io.unicode.encoding=UnicodeLittle

2015-10-28 17:18:29.237 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.cpu.endian=little

2015-10-28 17:18:29.237 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.cpu.isalist=

2015-10-28 17:18:29.238 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal
classloader

2015-10-28 17:18:29.242 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to
find jitsi-defaults.properties with class loader, will continue without it.

2015-10-28 17:18:29.243 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal
classloader

2015-10-28 17:18:29.243 INFOS: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to
find jitsi-default-overrides.properties with class loader, will continue
without it.

2015-10-28 17:18:29.349 INFOS: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().81 Network Address
Manager ...[ STARTED ]

2015-10-28 17:18:29.349 INFOS: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().87 Network Address
Manager Service ...[REGISTERED]

2015-10-28 17:18:29.448 INFOS: [10]
org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903

2015-10-28 17:18:29.486 INFOS: [10]
org.eclipse.jetty.server.AbstractConnector.doStart() Started
SelectChannelConnector@0.0.0.0:8888

2015-10-28 17:18:29.492 INFOS: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false

2015-10-28 17:18:29.492 INFOS: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator

2015-10-28 17:18:29.493 INFOS: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root

2015-10-28 17:18:29.500 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().181 Component
org.jitsi.jicofo. config:

2015-10-28 17:18:29.503 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().182 ping interval:
10000 ms

2015-10-28 17:18:29.503 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().183 ping timeout:
5000 ms

2015-10-28 17:18:29.503 INFOS: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().184 ping threshold: 3

2015-10-28 17:18:34.587 GRAVE: [27]
*org.jitsi.meet.ComponentMain.call().271 java.net.UnknownHostException:
im.alpi.fr, host:im.alpi.fr, port:5347*

*org.xmpp.component.ComponentException: java.net.UnknownHostException:
im.alpi.fr*