Jibri: "SESSION: No media received" 20 minutes into the call

Hey guys,

Jitsi and Jibri have been running well for recordings of 60 min and more, but randomly I had it happen twice that the recorder stopped about 20 minutes into the call. Once, I even had to re-start the jibri server to be able to continue recording.

This is the log of the last session with the error “SESSION: No media received”. What happened and how can I prevent this?

2020-05-25 19:05:15.117 INFO: [92] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegStateMachineStateChange() Ffmpeg capturer transitioning from state Starting up to Running
2020-05-25 19:05:15.118 INFO: [92] org.jitsi.jibri.service.impl.FileRecordingJibriService.onServiceStateChange() File recording service transitioning from state Starting up to Running

worked fine at first, and then later

2020-05-25 19:28:35.146 FINE: [89] org.jitsi.jibri.util.ProcessStatePublisher.ffmpeg.invoke() Process ffmpeg hasn't written in 2 seconds, publishing periodic update
2020-05-25 19:28:35.454 INFO: [89] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=0, upload=0}, download=0, upload=0, video={download=0, upload=0}}, all clients muted? false
2020-05-25 19:28:43.636 INFO: [89] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=0, upload=0}, download=0, upload=0, video={download=0, upload=0}}, all clients muted? false
2020-05-25 19:28:43.637 INFO: [89] org.jitsi.jibri.selenium.JibriSelenium.invoke() Recurring call status checks generated event org.jitsi.jibri.selenium.SeleniumEvent$NoMediaReceived@53bbd366
2020-05-25 19:28:43.638 INFO: [140] org.jitsi.jibri.selenium.JibriSelenium.onSeleniumStateChange() Transitioning from state Running to Error: SESSION No media received
2020-05-25 19:28:43.638 INFO: [140] org.jitsi.jibri.service.impl.FileRecordingJibriService.onServiceStateChange() File recording service transitioning from state Running to Error: SESSION No media received
2020-05-25 19:28:43.638 INFO: [140] org.jitsi.jibri.api.xmpp.XmppApi.invoke() Current service had an error, sending error iq <iq to='jibribrewery@internal.auth.live.artship.co/focus' id='ICo5H-202' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off' failure_reason='error'/></iq>
2020-05-25 19:28:43.639 FINE: [140] org.jitsi.jibri.statsd.JibriStatsDClient.incrementCounter() Incrementing statsd counter: stop:recording
2020-05-25 19:28:43.640 INFO: [140] org.jitsi.jibri.JibriManager.stopService() Stopping the current service
2020-05-25 19:28:43.640 INFO: [140] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Stopping capturer
2020-05-25 19:28:43.640 INFO: [140] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() Stopping ffmpeg process
2020-05-25 19:28:43.820 INFO: [140] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() ffmpeg exited with value 255
2020-05-25 19:28:43.820 INFO: [140] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Quitting selenium
2020-05-25 19:28:43.820 INFO: [92] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegStateMachineStateChange() Ffmpeg capturer transitioning from state Running to Finished
2020-05-25 19:28:43.833 INFO: [140] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Participants in this recording: []
2020-05-25 19:28:43.926 INFO: [140] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 80 log entries for type browser
2020-05-25 19:28:44.290 INFO: [140] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 7465 log entries for type driver
2020-05-25 19:28:45.484 INFO: [140] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 0 log entries for type client
2020-05-25 19:28:45.485 INFO: [140] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Leaving web call
2020-05-25 19:28:45.964 INFO: [140] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Quitting chrome driver
2020-05-25 19:28:46.046 INFO: [140] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Chrome driver quit
2020-05-25 19:28:46.047 INFO: [140] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Finalizing the recording

Did you found the solution?