Recording and Streaming using Jibri

I am struggling to get the Jibri working for me . I have successfully installed Jitsi and have been using it from past 4 months. Unfortunately i am not able to get the Jibri Working. Can you guide me on the steps to do the same on ubuntu 18.

Provide more information.

Hi

I followed the steps you had suggested. I am seeing an error in my Jibri Log as below

2020-08-04 16:34:11.927 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.
2020-08-04 16:34:12.366 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
2020-08-04 16:34:12.408 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.start() Connecting to xmpp environment on meet.yugapat.com with config XmppEnvironmentConfig(name=prod environment, xmppServerHosts=[meet.yugapat.com], xmppDomain=meet.yugapat.com, controlLogin=XmppCredentials(domain=auth.meet.yugapat.com, username=jibri, password=jibriauthpass), controlMuc=XmppMuc(domain=internal.auth.xmpp.domain, roomName=JibriBrewery, nickname=jibri-nickname), sipControlMuc=null, callLogin=XmppCredentials(domain=recorder.meet.yugapat.com, username=recorder, password=jibrirecorderpass), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true)
2020-08-04 16:34:12.409 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
2020-08-04 16:34:12.440 WARNING: [20] org.jitsi.xmpp.mucclient.MucClient.log() Disabling certificate verification!
2020-08-04 16:34:12.491 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.
2020-08-04 16:34:42.448 WARNING: [29] org.jivesoftware.smackx.ping.PingManager.pingServerIfNecessary() XMPPConnection was not authenticated
2020-08-04 16:34:42.574 WARNING: [20] org.jitsi.xmpp.mucclient.MucClient.log() [MucClient id=meet.yugapat.comhostname=meet.yugapat.com] error connecting
org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘meet.yugapat.com:5222’ failed because: meet.yugapat.com/13.235.89.192 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.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
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)
2020-08-04 16:35:17.733 WARNING: [20] org.jitsi.xmpp.mucclient.MucClient.log() [MucClient id=meet.yugapat.comhostname=meet.yugapat.com] error connecting
org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘meet.yugapat.com:5222’ failed because: meet.yugapat.com/13.235.89.192 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.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
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)
2020-08-04 16:35:52.791 WARNING: [20] org.jitsi.xmpp.mucclient.MucClient.log() [MucClient id=meet.yugapat.comhostname=meet.yugapat.com] error connecting
org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘meet.yugapat.com:5222’ failed because: meet.yugapat.com/13.235.89.192 exception: java.net.SocketTimeoutException: connect timed out

Can you guide

Thanks
Naveen

This is your issue

This is the current issue. The initial issues were their during installation but I have passed through that and now looks to be a config issues . Not sure

I am also seeing the below error in Prosody .err

Aug 04 14:37:43 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Aug 04 14:37:43 localhost:tls error Error creating contexts for s2sin: error loading private key (system lib)
Aug 04 14:37:43 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Aug 04 14:37:43 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Aug 04 16:15:12 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Check that the permissions allow Prosody to read this file. (for localhost)
Aug 04 16:15:12 localhost:tls error Error creating context for c2s: error loading private key (Permission denied)
Aug 04 16:15:12 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Aug 04 16:15:12 localhost:tls error Error creating contexts for s2sout: error loading private key (system lib)
Aug 04 16:15:12 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Aug 04 16:15:12 localhost:tls error Error creating contexts for s2sin: error loading private key (system lib)
Aug 04 18:57:31 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Check that the permissions allow Prosody to read this file. (for localhost)
Aug 04 18:57:31 localhost:tls error Error creating context for c2s: error loading private key (Permission denied)
Aug 04 18:57:31 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Aug 04 18:57:31 localhost:tls error Error creating contexts for s2sout: error loading private key (system lib)
Aug 04 18:57:31 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Aug 04 18:57:31 localhost:tls error Error creating contexts for s2sin: error loading private key (system lib)
Aug 04 18:57:31 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Aug 04 18:57:31 portmanager error Error binding encrypted port for https: No c�ertificate present in SSL/TLS configuration for https port 5281

I am also seeing below error in JICOF

Jicofo 2020-08-04 19:00:37.390 INFO: [67] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Authenticated jid: pnaia@meet.yugapat.com/ys4NX7fk with session: AuthSession[ID=pnaia@meet.yugap$
Jicofo 2020-08-04 19:00:37.390 INFO: [67] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Jid pnaia@meet.yugapat.com/ys4NX7fk authenticated as: pnaia@meet.yugapat.com
Jicofo 2020-08-04 19:00:37.390 INFO: [67] org.jitsi.jicofo.FocusManager.log() Created new focus for pnaia@conference.meet.yugapat.com@auth.meet.yugapat.com. Conference count 1,options: cha$
Jicofo 2020-08-04 19:00:37.390 INFO: [67] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: pnaia@conference.meet.yugapat.com
Jicofo 2020-08-04 19:00:37.600 INFO: [70] org.jitsi.jicofo.xmpp.FocusComponent.log() Focus request for room: pnaia@conference.meet.yugapat.com
Jicofo 2020-08-04 19:00:37.600 INFO: [70] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Authenticated jid: iofz7x2_zj4on04-@guest.meet.yugapat.com/0d4_-RS3 with session: AuthSession[ID$
Jicofo 2020-08-04 19:00:37.601 INFO: [70] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Jid iofz7x2_zj4on04-@guest.meet.yugapat.com/0d4_-RS3 authenticated as: pnaia@meet.yugapat.com
Jicofo 2020-08-04 19:00:37.660 INFO: [30] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.proto$
Jicofo 2020-08-04 19:00:37.663 INFO: [30] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member pnaia@conference.meet.yugapat.com/bcbdb637 joined.
Jicofo 2020-08-04 19:00:44.869 SEVERE: [31] org.jitsi.jicofo.recording.jibri.JibriSession.log() Unable to find an available Jibri, can’t start
Jicofo 2020-08-04 19:00:44.869 INFO: [31] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Failed to start a Jibri session, no Jibris available
Jicofo 2020-08-04 19:06:46.393 SEVERE: [103] org.jitsi.jicofo.recording.jibri.JibriSession.log() Unable to find an available Jibri, can’t start
Jicofo 2020-08-04 19:06:46.393 INFO: [103] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Failed to start a Jibri session, no Jibris available
Jicofo 2020-08-04 19:08:38.068 SEVERE: [103] org.jitsi.jicofo.recording.jibri.JibriSession.log() Unable to find an available Jibri, can’t start
Jicofo 2020-08-04 19:08:38.068 INFO: [103] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Failed to start a Jibri session, no Jibris available

Please note i am using JITSI hosted on AWS and JIBRI is hosted on GCP and i am using the Public IP for the recording

Any help and guidance

Any help i am stuck

Not sure what else to tell you other than to figure out why Jibri can’t connect to your XMPP server.

What’s security group configuration of your AWS ?