Videobridge host-unknown


#1

Hi @ all, i try to configure a second videobridge.
I set the components in prosody, set the subdomain in the vb config, allow the 5347 Port on the main serverv. I dont know where can be the problem else.

But i get the following log entry:

JVB 2018-08-02 18:17:31.824 SEVERE: [32] org.jitsi.meet.ComponentMain.call().323 host-unknown, host:meeting.oesolution.ru, port:5347

org.xmpp.component.ComponentException: host-unknown

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

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

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

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

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

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

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

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

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

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

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

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

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

the Videobridge on the local machine works fine.
here is the prosody config for the components:

VirtualHost "meeting.oesolution.ru"
        -- enabled = false -- Remove this line to enable this host
        authentication = "anonymous"
	admins = {
		"meeting.oesolution.ru",
		"vb1.meeting.oesolution.ru",
	}
        -- Properties below are modified by jitsi-meet-tokens package config
        -- and authentication above is switched to "token"
        --app_id="example_app_id"
        --app_secret="example_app_secret"
        -- Assign this host a certificate for TLS, otherwise it would use the one
        -- set in the global section (if any).
        -- Note that old-style SSL on port 5223 only supports one certificate, and will always
        -- use the global one.
        ssl = {
                key = "/etc/prosody/certs/meeting.oesolution.ru.key";
                certificate = "/etc/prosody/certs/meeting.oesolution.ru.crt";
        }
        -- we need bosh
        modules_enabled = {
            "bosh";
            "pubsub";
            "ping"; -- Enable mod_ping
        }

        c2s_require_encryption = false

Component "conference.meeting.oesolution.ru" "muc"
    storage = "null"
    --modules_enabled = { "token_verification" }
admins = { "focus@auth.meeting.oesolution.ru" }

Component "jitsi-videobridge.meeting.oesolution.ru"
	component_secret = "XXXXX"

Component "vb1.meeting.oesoluttion.ru"
	component_secret = "XXXXX"

VirtualHost "auth.meeting.oesolution.ru"
    ssl = {
        key = "/etc/prosody/certs/auth.meeting.oesolution.ru.key";
        certificate = "/etc/prosody/certs/auth.meeting.oesolution.ru.crt";
    }
    authentication = "internal_plain"

Component "focus.meeting.oesolution.ru"
    component_secret = "XXXXXX"

and the config from the VB:

# Jitsi Videobridge settings

# sets the XMPP domain (default: none)

JVB_HOSTNAME=meeting.oesolution.ru

# sets the hostname of the XMPP server (default: domain if set, localhost otherwise)

JVB_HOST=meeting.oesolution.ru

# sets the port of the XMPP server (default: 5275)

JVB_PORT=5347

# sets the shared secret used to authenticate to the XMPP server

JVB_SECRET=XXXXX

# extra options to pass to the JVB daemon

JVB_OPTS="--apis=rest,xmpp --subdomain=vb1"

# adds java system props that are passed to jvb (default are for home and logging config file)

JAVA_SYS_PROPS="$JVB_EXTRA_JVM_PARAMS -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties"

#2

The component definition and the JVB_HOSTNAME differs:

JVB_HOSTNAME=meeting.oesolution.ru

You have a spelling error of double ‘t’ :slight_smile:


#3

Two "t"s in the domain.

Boris


#4

oh my gosh! :smiley: :smiley: :smiley:
thank you guys.
That will happen when you try to find the spelling error in the same code, all the day.

it Works!