JVB service configuration issue

Dear ALL:

We separate deployment of JVB service (10.206.132.113), but refused when connecting to XMPP service (10.206.132.112)

I configured the address of JVB(10.206.132.113) in the xmpp service

What configuration do I need?

Port 5222 should be accessible from 10.206.132.113 to 10.206.132.112.

service in 10.206.132.112:
prosody
jicofo

service in 10.206.132.113:
jitsi-videobridge

prosody(10.206.132.112) config:

VirtualHost “10.206.132.112”
authentication = “anonymous”
ssl = {
key = “/var/lib/prosody/10.206.132.112.key”;
certificate = “/var/lib/prosody/10.206.132.112.crt”;
}
modules_enabled = {
“bosh”;
“pubsub”;
}
c2s_require_encryption = false
VirtualHost “auth.10.206.132.112”
ssl = {
key = “/var/lib/prosody/auth.10.206.132.112.key”;
certificate = “/var/lib/prosody/auth.10.206.132.112.crt”;
}
authentication = “internal_plain”
admins = { “focus@auth.10.206.132.112” }
Component “conference.10.206.132.112” “muc”
Component “jitsi-videobridge.10.206.132.113”
component_secret = “mysecret1”
Component “focus.10.206.132.112”
component_secret = “mysecret2”

videobridge start:10.206.132.113:
nohup sh /home/jitsi-videobridge/jvb.sh --host=localhost --domain=10.206.132.112 --port=5347 --secret=mysecret1 </dev/null >> /home/jitsi-videobridge/logs/jvb.log 2>&1 &

Please help check the configuration,thanks!

Is port 5347 open for 10.206.132.113 when connecting to 10.206.132.112. Also make sure prosody is not listening on 127.0.0.1 only on that port. That is controlled by component_interface https://prosody.im/doc/components

I change the config:
VirtualHost “10.206.132.112”
authentication = “anonymous”
ssl = {
key = “/var/lib/prosody/10.206.132.112.key”;
certificate = “/var/lib/prosody/10.206.132.112.crt”;
}
modules_enabled = {
“bosh”;
“pubsub”;
}
c2s_require_encryption = false
VirtualHost “auth.10.206.132.112”
ssl = {
key = “/var/lib/prosody/auth.10.206.132.112.key”;
certificate = “/var/lib/prosody/auth.10.206.132.112.crt”;
}
authentication = “internal_plain”
admins = { “focus@auth.10.206.132.112” }
Component “conference.10.206.132.112” “muc”
–Component “jitsi-videobridge.10.206.132.112”
– component_secret = “mysecret1”
Component “focus.10.206.132.112”
component_secret = “mysecret2”

Component “jitsi-videobridge.10.206.132.113”
component_secret = “mysecret1”

component_port = {8888}
component_interface = “10.206.132.113”

start cmd:
/data/videobridge-20200409/jvb.sh --host=10.206.132.112 --domain=10.206.132.112 --port=8888 --secret=mysecret1 </dev/null >> /data/videobridge-20200409/logs/jvb.log 2>&1 &

prosody err log:
Apr 14 15:54:56 jitsi-videobridge.10.206.132.113:tls error Error creating context for c2s: No certificate present in SSL/TLS configuration for jitsi-videobridge.10.206.132.113
Apr 14 15:54:56 jitsi-videobridge.10.206.132.113:tls error Error creating contexts for s2sin: No certificate present in SSL/TLS configuration for jitsi-videobridge.10.206.132.113

videobridge err log:
JVB 2020-04-14 16:00:33.994 INFO: [11] impl.resources.ResourceManagementActivator.start().81 Resource manager STARTED
JVB 2020-04-14 16:00:33.994 INFO: [11] impl.resources.ResourceManagementActivator.start().90 Resource manager REGISTERED
JVB 2020-04-14 16:00:34.015 INFO: [11] impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address Manager …[ STARTED ]
JVB 2020-04-14 16:00:34.015 INFO: [11] impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address Manager Service …[REGISTERED]
JVB 2020-04-14 16:00:34.025 INFO: [11] impl.packetlogging.PacketLoggingActivator.start().100 Packet Logging Service …[REGISTERED]
JVB 2020-04-14 16:00:34.035 INFO: [11] org.jitsi.version.AbstractVersionActivator.start().119 JVB Version: JVB 0.1.1124
JVB 2020-04-14 16:00:34.042 INFO: [11] org.jitsi.rest.AbstractJettyBundleActivator.start().613 Not starting the Jetty service for org.jitsi.videobridge.rest.RESTBundleActivator(port=8080)
JVB 2020-04-14 16:00:34.058 INFO: [11] org.jitsi.rest.AbstractJettyBundleActivator.start().613 Not starting the Jetty service for org.jitsi.videobridge.rest.PublicRESTBundleActivator(port=-1)
JVB 2020-04-14 16:00:34.059 INFO: [11] org.jitsi.rest.AbstractJettyBundleActivator.start().613 Not starting the Jetty service for org.jitsi.videobridge.rest.PublicClearPortRedirectBundleActivator(port=8080)
JVB 2020-04-14 16:00:34.249 INFO: [11] org.jitsi.videobridge.util.UlimitCheck.log() Running with open files limit 655350 (hard 655350), thread limit 31157 (hard 31157).
JVB 2020-04-14 16:00:34.250 INFO: [11] org.jitsi.videobridge.VideobridgeExpireThread.log() Starting with 60 second interval.
JVB 2020-04-14 16:00:34.257 INFO: [11] org.jitsi.videobridge.Videobridge.log() Authorized source regexp: focus@auth.10.206.132.113/.*
JVB 2020-04-14 16:00:34.286 INFO: [17] org.jitsi.videobridge.Videobridge.log() CAT=stat create_conf,conf_id=930aece8e96605cd conf_name=null,logging=false,conf_count=1,ch_count=0,v_streams=0
JVB 2020-04-14 16:00:34.845 INFO: [19] org.ice4j.ice.harvest.MappingCandidateHarvesters.initialize() Initialized mapping harvesters (delay=105ms). stunDiscoveryFailed=false
JVB 2020-04-14 16:00:35.156 INFO: [11] org.jitsi.impl.neomedia.MediaServiceImpl.log() Warming up SecureRandom…
JVB 2020-04-14 16:00:35.156 INFO: [11] org.jitsi.impl.neomedia.MediaServiceImpl.log() Warming up SecureRandom finished.
JVB 2020-04-14 16:00:35.172 INFO: [11] org.jitsi.videobridge.octo.OctoRelayService.start().112 Octo relay not configured.
JVB 2020-04-14 16:00:35.175 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.videobridge.AUTHORIZED_SOURCE_REGEXP=focus@auth.10.206.132.113/.*
JVB 2020-04-14 16:00:35.175 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator
JVB 2020-04-14 16:00:35.175 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root
JVB 2020-04-14 16:00:35.199 SEVERE: [26] org.jitsi.meet.ComponentMain.call().299 org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not H (position: START_DOCUMENT seen H… @1:1) , host:10.206.132.112, port:8888
org.xmpp.component.ComponentException: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not H (position: START_DOCUMENT seen H… @1:1)
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:277)
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:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
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)

I have imported the certificates of both servers.Why do authentication errors still occur?

Are you sure the port is correct? Seems port 8888 is not where xmpp server is listening.
And component port and interface config needs to be in the general part of the config, not under a component.

Thanks for your help!
I change my prosody conf files,and the get the log:

a) Jicofo 2020-04-16 08:25:24.353 INFO: [43] org.jitsi.jicofo.BridgeSelector.log() Added videobridge: jitsi-videobridge.10.206.132.112 v: IQ Stanza (query jabber:iq:version) [to=focus@auth.10.206.132.112/focus453145441304936,from=jitsi-videobridge.10.206.132.112,id=Cr9aU-35953,type=result,]
b) Jicofo 2020-04-16 08:25:24.353 INFO: [39] org.jitsi.jicofo.JvbDoctor.log() Scheduled health-check task for: jitsi-videobridge.10.206.132.112
c) Jicofo 2020-04-16 09:21:24.382 INFO: [43] org.jitsi.jicofo.BridgeSelector.log() Added videobridge: jvb2.10.206.132.112 v: IQ Stanza (query jabber:iq:version) [to=focus@auth.10.206.132.112/focus453145441304936,from=jvb2.10.206.132.112,id=Cr9aU-38746,type=result,]
d) Jicofo 2020-04-16 09:21:24.382 INFO: [39] org.jitsi.jicofo.JvbDoctor.log() Scheduled health-check task for: jvb2.10.206.132.112

This seems to be working,But I also found this information in the log of jvb2:
JVB 2020-04-16 10: 59: 06.683 WARNING: [17244] org.jitsi.videobridge.AbstractEndpointMessageTransport.log () Unable to find endpoint 53d8300f to send EndpointMessage
JVB 2020-04-16 10: 59: 06.683 WARNING: [17244] org.jitsi.videobridge.AbstractEndpointMessageTransport.log () Unable to find endpoint 407fc8ff to send EndpointMessage
JVB 2020-04-16 10: 59: 06.683 WARNING: [17244] org.jitsi.videobridge.AbstractEndpointMessageTransport.log () Unable to find endpoint 7339a108 to send EndpointMessage

What is the error?

another question:
When printing the following web log:
[modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new last-n event: Array(0) Object
Video screen will freeze

When printing the following web log:
[modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new dominant speaker event: a7280733
Video picture returns to normal

What is the problem?