Jibri service start error

hi ,

when i try to start jibri it gives me

dec 02 23:47:05 pnssitem systemd[1]: Started Jibri Process.
Dec 02 23:47:14 pnssitem launch.sh[1715]: SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
Dec 02 23:47:14 pnssitem launch.sh[1715]: SLF4J: Defaulting to no-operation (NOP) logger implementation
Dec 02 23:47:14 pnssitem launch.sh[1715]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Regards

You can ignore these.

ok thanks but it gives me

2019-12-03 01:08:42.974 INFO: [1] org.jitsi.jibri.Main.main() Jibri run with args [–config, /etc/jitsi/jibri/config.json]
2019-12-03 01:08:42.977 INFO: [1] org.jitsi.jibri.Main.main() Using config file /etc/jitsi/jibri/config.json
2019-12-03 01:08:42.978 INFO: [1] org.jitsi.jibri.Main.main() Using port 3333 for internal HTTP API
2019-12-03 01:08:42.978 INFO: [1] org.jitsi.jibri.Main.main() Using port 2222 for the HTTP API
2019-12-03 01:08:43.449 INFO: [1] org.jitsi.jibri.Main.loadConfig() Parsed config:
JibriConfig(recordingDirectory=/srv/recordings, singleUseMode=false, enabledStatsD=true, finalizeRecordingScriptPath=/srv/recordings/finalize_recording.sh, xmppEnvironments=[XmppEnvironmentConfig(name=prod environment, xmppServerHosts=[movid.pnsserver.com], xmppDomain=movid.pnsserver.com, controlLogin=XmppCredentials(domain=auth.movid.pnsserver.com, username=jibri, password=jibriauthpass), controlMuc=XmppMuc(domain=internal.auth.movid.pnsserver.com, roomName=JibriBrewery, nickname=jibri-nickname), sipControlMuc=null, callLogin=XmppCredentials(domain=movidkayit.pnsserver.com, username=recorder, password=jibrirecorderpass), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true)])
2019-12-03 01:08:43.868 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime() A provider org.jitsi.jibri.api.http.internal.InternalHttpApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.jibri.api.http.internal.InternalHttpApi will be ignored.
2019-12-03 01:08:44.044 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.updatePresence() Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
2019-12-03 01:08:44.046 INFO: [1] org.jitsi.xmpp.mucclient.MucClientManager.log() Setting a presence extension: org.jitsi.xmpp.extensions.jibri.JibriStatusPacketExt@5aa6202e
2019-12-03 01:08:44.050 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.start() Connecting to xmpp environment on movid.pnsserver.com with config XmppEnvironmentConfig(name=prod environment, xmppServerHosts=[movid.pnsserver.com], xmppDomain=movid.pnsserver.com, controlLogin=XmppCredentials(domain=auth.movid.pnsserver.com, username=jibri, password=jibriauthpass), controlMuc=XmppMuc(domain=internal.auth.movid.pnsserver.com, roomName=JibriBrewery, nickname=jibri-nickname), sipControlMuc=null, callLogin=XmppCredentials(domain=movidkayit.pnsserver.com, username=recorder, password=jibrirecorderpass), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true)
2019-12-03 01:08:44.051 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.start() The trustAllXmppCerts config is enabled for this domain, all XMPP server provided certificates will be accepted
2019-12-03 01:08:44.063 WARNING: [21] org.jitsi.xmpp.mucclient.MucClient.log() Disabling certificate verification!
2019-12-03 01:08:44.084 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime() A provider org.jitsi.jibri.api.http.HttpApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.jibri.api.http.HttpApi will be ignored.
2019-12-03 01:09:14.071 WARNING: [30] org.jivesoftware.smackx.ping.PingManager.pingServerIfNecessary() XMPPConnection was not authenticated
2019-12-03 01:09:14.118 SEVERE: [21] org.jitsi.xmpp.mucclient.MucClientManager.log() Failed to initialize and start a MucClient:
org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘movid.pnsserver.com:5222’ failed because: movid.pnsserver.com/ipadress exception: java.net.SocketTimeoutException: connect timed out
at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
at org.jitsi.xmpp.mucclient.MucClient.initializeConnectAndJoin(MucClient.java:277)
at org.jitsi.xmpp.mucclient.MucClientManager.lambda$addMucClient$0(MucClientManager.java:152)
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)

Best regards :slight_smile:

By the way i have searched maybe
always_trust_certs is gonna help but where i will gonna add it,
i couldnt find it.

Nope, it is just your jibri cannot reach port 5222 to your xmpp server.

ohh i see ,
there is a firewall in there that’s beacuse do i need open 5222 on tcp or udp ?

Tcp 5222

1 Like

thank you so much for your help.

i opened the port 5222 on jitsi installed servers network but it still gives me same error.

do i need allow port on 5222 tcp on jibri servers network ?

It just needs access to movid.pnsserver.com:5222, do you need some port forwarding for that, maybe…

they are in local network.
jitsi ip : 10.170.10.70
jibri ip :10.170.10.71

i made jits/meet/config , hiddendomain: 10.170.10.71 recorder localip.

but now it gives me

2019-12-04 10:47:12.487 INFO: [47] org.jitsi.jibri.selenium.JibriSelenium.onSeleniumStateChange() Transitioning from state Starting up to Error: SESSION Failed to join call
2019-12-04 10:47:12.488 INFO: [47] org.jitsi.jibri.service.impl.FileRecordingJibriService.onServiceStateChange() File recording service transitioning from state Starting up to Error: SESSION Failed to join call
2019-12-04 10:47:12.488 INFO: [47] org.jitsi.jibri.api.xmpp.XmppApi.invoke() Current service had an error, sending error iq

From the logs it is trying to connect to the external domain / external ip … Maybe you can change config to connect to internal address of the xmpp server

i am bit confused there forexample there is “domain”: “auth.cibiko.pnsserver.com”, in here am i gonna need to write “domain”: “10.170.10.70” ?

because if i do like that i get

2019-12-04 12:14:23.986 INFO: [33] org.jitsi.xmpp.mucclient.MucClient.log() [MucClient id=10.170.10.70 hostname=10.170.10.70] reconnection failed
2019-12-04 12:14:23.986 WARNING: [36] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[not-authenticated] (0) closed with error
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
stream:errorThis server does not serve 10.170.10.70</stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1064)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)

domain should be the domain you use for your deployment, the ip address is in:

"xmpp_server_hosts": [
                "<ip-address>"
            ],

i have done all things but it now gives me

2019-12-05 12:15:32.211 SEVERE: [49] org.jitsi.jibri.selenium.JibriSelenium.run() An error occurred while joining the call: org.openqa.selenium.TimeoutException: timeout

Jibri cannot access your deployment on the provided URL … you should see the URL in the logs. Is that URL accessible form within the jibri machine?

yes it is , i can ping it from jibri machine like below

/etc/jitsi/jibri# ping cibiko.pnsserver.com
PING cibiko.pnsserver.com (ipadress) 56(84) bytes of data.
64 bytes from 10.170.10.70 (10.170.10.70): icmp_seq=1 ttl=64 time=0.476 ms
64 bytes from 10.170.10.70 (10.170.10.70): icmp_seq=2 ttl=64 time=0.487 ms
64 bytes from 10.170.10.70 (10.170.10.70): icmp_seq=3 ttl=64 time=0.516 ms
64 bytes from 10.170.10.70 (10.170.10.70): icmp_seq=4 ttl=64 time=0.483 ms
64 bytes from 10.170.10.70 (10.170.10.70): icmp_seq=5 ttl=64 time=0.488 ms

Is this the domain name from the URL you see in the logs? Is port 443 accessible?

yes it is

there is full log

is there any port needs to be open from chrome ?

Join will fail if this is not true in time:

return APP.conference._room.isJoined();

So it could be an issue other than pure network connectivity. Can you try joining a call manually from the Jibri machine?