Hello,
I’ve been struggling for the past hours with this error:
2020-05-28 21:05:22.735 INFO: [28] Videobridge.createConference#326: create_conf, id=16b68f4c300f0dbb gid=null logging=false
2020-05-28 21:05:22.744 INFO: [28] Health.doRun#294: Performed a successful health check in 10ms. Sticky failure: false
2020-05-28 21:05:27.121 SEVERE: [38] ComponentMain.lambda$getConnectCallable$0#293: host-unknown, host:video.server.com, 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.lambda$getConnectCallable$0(ComponentMain.java:285)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
And I’ve no clue what can be the problem.
In /etc/prosody/conf.avail forlder, files are:
localhost.cfg.lua
video.server.com.cfg.lua
video.server.com.cfg.lua content :
plugin_paths = { “/usr/share/jitsi-meet/prosody-plugins/” }
– domain mapper options, must at least have domain base set to use the mapper
muc_mapper_domain_base = “video.server.com”;turncredentials_secret = “CCCCCCC”;
turncredentials = {
{ type = “stun”, host = “video.server.com”, port = “443” },
{ type = “turn”, host = “video.server.com”, port = “443”, transport = “udp” },
{ type = “turns”, host = “video.server.com”, port = “443”, transport = “tcp” }
};cross_domain_bosh = false;
consider_bosh_secure = true;VirtualHost “video.server.com”
– enabled = false – Remove this line to enable this host
–authentication = “anonymous”
authentication = “internal_hashed”
admins = {“video.server.com”}-- 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/video.server.com.key"; certificate = "/etc/prosody/certs/video.server.com.crt"; https_certificate = "/etc/prosody/certs/video.server.com.crt"; https_key = "/etc/prosody/certs/video.server.com.key"; } speakerstats_component = "speakerstats.video.server.com" conference_duration_component = "conferenceduration.video.server.com" -- we need bosh modules_enabled = { "bosh"; "pubsub"; "ping"; -- Enable mod_ping "speakerstats"; "turncredentials"; "conference_duration"; } c2s_require_encryption = false
Component “conference.video.server.com” “muc”
storage = “memory”
modules_enabled = {
“muc_meeting_id”;
“muc_domain_mapper”;
– “token_verification”;
}
admins = { “focus@auth.video.server.com” }– internal muc component
Component “internal.auth.video.server.com” “muc”
storage = “memory”
modules_enabled = {
“ping”;
}
admins = { “focus@auth.video.server.com”, “jvb@auth.video.server.com” }VirtualHost “auth.video.server.com”
ssl = {
key = “/etc/prosody/certs/auth.video.server.com.key”;
certificate = “/etc/prosody/certs/auth.video.server.com.crt”;https_certificate = "/etc/prosody/certs/video.server.com.crt"; https_key = "/etc/prosody/certs/video.server.com.key"; } authentication = "internal_hashed"
Component “focus.video.server.com”
component_secret = “BBBBBBBB”Component “speakerstats.video.server.com” “speakerstats_component”
muc_component = “conference.video.server.com”Component “conferenceduration.video.server.com” “conference_duration_component”
muc_component = “conference.video.server.com”Component “callcontrol.video.server.com” component_secret = “AAAAAAA”
VirtualHost “guest.video.server.com”
authentication = “anonymous”
c2s_require_encryption = false
Videobrige’s config file is:
Jitsi Videobridge settings
sets the XMPP domain (default: none)
JVB_HOSTNAME=video.server.com
sets the hostname of the XMPP server (default: domain if set, localhost otherwise)
JVB_HOST=video.server.com
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=ZZZZZZZZZ
extra options to pass to the JVB daemon
JVB_OPTS="–apis=rest,xmpp --subdomain=video"
#,xmpp --subdomain=video"
AUTHBIND=yes
adds java system props that are passed to jvb (default are for home and logging config file)
JAVA_SYS_PROPS="-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"
I can’t find anything wrong, but it seems to me that Jitsi cannot connect to port 5347, even though UFW has the port open/allowed.
I’ve tested to connect from my laptop to the server via telnet and port 5347 and it fails.
Any help would be very appreciated.
TIA,
SCC