Jibri - Internal Server Error when you click "Start recording"

Greetings.
My Jisti starts ok. I check the logs and everything is ok. But when i click start recording, I get several errors:

/var/log/jisti/jibri/log.txt

2020-09-01 12:16:11.028 FINE: [17] org.jitsi.jibri.webhooks.v1.WebhookClient.invokeSuspend() Updating 0 subscribers of status
2020-09-01 12:17:01.599 INFO: [47] org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq() Received JibriIq from environment [MucClient id=IPADDRESS hostname=IPADDRESS]
2020-09-01 12:17:01.600 INFO: [47] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Received start request, starting service
2020-09-01 12:17:01.601 SEVERE: [47] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Error starting Jibri service : org.jitsi.jibri.util.CallUrlInfoFromJidException: Unable to extract call url info from Jid [testmeeting@conference.domain.com](mailto:testmeeting@conference.domain.com) (stripFromRoomDomain = conference., xmppDomain = IPADDRESS) with stack:
org.jitsi.jibri.util.XmppUtilsKt.getCallUrlInfoFromJid(XmppUtils.kt:47)
org.jitsi.jibri.api.xmpp.XmppApi.handleStartService(XmppApi.kt:279)
org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq(XmppApi.kt:194)
org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq(XmppApi.kt:167)
org.jitsi.jibri.api.xmpp.XmppApi.handleIq(XmppApi.kt:149)
org.jitsi.xmpp.mucclient.MucClient.handleIq(MucClient.java:569)
org.jitsi.xmpp.mucclient.MucClient.access$800(MucClient.java:50)
org.jitsi.xmpp.mucclient.MucClient$2.handleIQRequest(MucClient.java:533)
org.jivesoftware.smack.AbstractXMPPConnection$4.run(AbstractXMPPConnection.java:1188)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

2020-09-01 12:17:11.028 FINE: [17] org.jitsi.jibri.webhooks.v1.WebhookClient.invokeSuspend() Updating 0 subscribers of status

at /var/log/jisti/jicofo.log i get this error;

Jicofo 2020-09-01 12:44:39.502 INFO: [31] org.jitsi.jicofo.recording.jibri.JibriSession.log() Starting session with Jibri jibribrewery@internal.auth.domain.com/jibri-nickname
Jicofo 2020-09-01 12:44:39.503 INFO: [31] org.jitsi.jicofo.recording.jibri.JibriSession.log() Starting Jibri jibribrewery@internal.auth.domain.com/jibri-nickname for stream ID: null in room: testmeeting@conference.domain.com
Jicofo 2020-09-01 12:44:39.513 SEVERE: [31] org.jitsi.jicofo.recording.jibri.JibriSession.log() Unexpected status received in response to the start IQ: <iq to='focus@auth.domain.com/focus19066310502267' from='jibribrewery@internal.auth.domain.com/jibri-nickname' id='hSl2l-243' type='result'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off' failure_reason='error' should_retry='true'/></iq>
Jicofo 2020-09-01 12:44:39.513 SEVERE: [31] org.jitsi.jicofo.recording.jibri.JibriSession.log() Failed to send start Jibri IQ: org.jitsi.jicofo.recording.jibri.JibriSession$StartException: Unexpected response
org.jitsi.jicofo.recording.jibri.JibriSession$StartException: Unexpected response
	at org.jitsi.jicofo.recording.jibri.JibriSession.sendJibriStartIq(JibriSession.java:595)
	at org.jitsi.jicofo.recording.jibri.JibriSession.startInternal(JibriSession.java:370)
	at org.jitsi.jicofo.recording.jibri.JibriSession.start(JibriSession.java:335)
	at org.jitsi.jicofo.recording.jibri.JibriRecorder.handleStartRequest(JibriRecorder.java:178)
	at org.jitsi.jicofo.recording.jibri.CommonJibriStuff.handleIQRequest(CommonJibriStuff.java:271)
	at org.jitsi.jicofo.recording.jibri.OperationSetJibri.handleIQRequest(OperationSetJibri.java:98)
	at org.jivesoftware.smack.AbstractXMPPConnection$4.run(AbstractXMPPConnection.java:1188)
	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)
Jicofo 2020-09-01 12:44:39.515 INFO: [31] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Failed to start a Jibri session:Internal server error
org.jitsi.jicofo.recording.jibri.JibriSession$StartException: Internal server error
	at org.jitsi.jicofo.recording.jibri.JibriSession.startInternal(JibriSession.java:376)
	at org.jitsi.jicofo.recording.jibri.JibriSession.start(JibriSession.java:335)
	at org.jitsi.jicofo.recording.jibri.JibriRecorder.handleStartRequest(JibriRecorder.java:178)
	at org.jitsi.jicofo.recording.jibri.CommonJibriStuff.handleIQRequest(CommonJibriStuff.java:271)
	at org.jitsi.jicofo.recording.jibri.OperationSetJibri.handleIQRequest(OperationSetJibri.java:98)
	at org.jivesoftware.smack.AbstractXMPPConnection$4.run(AbstractXMPPConnection.java:1188)
	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)

I will appreciate any help @corby , @damencho

Here’s the code that does this extraction: https://github.com/jitsi/jibri/blob/master/src/main/kotlin/org/jitsi/jibri/util/XmppUtils.kt. Is xmppDomain an IP address? I think it needs to be a hostname for that to work.

Hi.

We are getting following error during Jibri Recording:

Jicofo 2020-10-27 15:57:06.663 INFO: [336] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Failed to start a Jibri session:Internal server error
org.jitsi.jicofo.recording.jibri.JibriSession$StartException: Internal server error
at org.jitsi.jicofo.recording.jibri.JibriSession.startInternal(JibriSession.java:376)
at org.jitsi.jicofo.recording.jibri.JibriSession.start(JibriSession.java:335)
at org.jitsi.jicofo.recording.jibri.JibriRecorder.handleStartRequest(JibriRecorder.java:178)
at org.jitsi.jicofo.recording.jibri.CommonJibriStuff.handleIQRequest(CommonJibriStuff.java:271)
at org.jitsi.jicofo.recording.jibri.OperationSetJibri.handleIQRequest(OperationSetJibri.java:98)
at org.jivesoftware.smack.AbstractXMPPConnection$4.run(AbstractXMPPConnection.java:1188)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)

Hi Christopher,
Your Jibri issue is resolved or not? If resolved do send me steps.

Regards,
Subodh

same issue occurred while recording…

@Sujeeb_Palikhel and @subodhs, do you have jibri.conf configured properly? You might want to check out this guide - TUTORIAL: Jibri Overview, Troubleshooting Tips & Tricks - Solve your Jibri Problems, Quickly!

Go through the Troubleshooting section; it will likely help you resolve your Jibri issues.