Jibri Error: Stop recording after 20 seconds

Jitsi Meet Docker version stable 8044-1
Server spec: 4 core 8gb ram
Customize jibri to save recording to minio object storage
Run behind NAT and LoadBalancer(also run behind NAT)
Both loadbalancer and jitsi already allow 443/udp for jvb webrtc
Loadbalancer has own domain and public ip
Jitsi Docker has own public ip
using self-signed ssl
3-way call works perfectly but when recording started, it return error and stop recording after 20 seconds and recorded file seems no audio and video

Here my jibri log
log.0.txt (28.2 KB)

docker compose log
docker -compose-log.txt (26.0 KB)

jibri.conf
jibri.conf.txt (2.5 KB)

jicofo.conf
jicofo.conf.txt (1.5 KB)

jvb.conf
jvb.conf.txt (1.4 KB)

jitsi-meet.cfg.lua
jitsi-meet.cfg.lua.txt (3.8 KB)

I also create same environment at digitalocean with same architecture and same settings as above except not run behind NAT and use letsencrypt ssl, 3 ways call works fine, jibri recording works fine, all files recorded with audio and video.

Your Jibri config seems to have some problems:

name = “-0”

base-url = “https://*.domain.gov.my”

for base-url, I use actual domain…I use https://*.domain.gov.my because I do not want expose the actual domain… for name =“-0”, should I change it? most of this setting is default setting.

this is my new jibri log file after I remove some setting inside /etc/hosts

log.0.txt (66.3 KB)

The recording worked, but your finalize script seems to have an error and the upload failed:

Jibri 2023-03-15 02:45:09.845 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: VIDEO_PATH: /config/recordings/adpmdwhsregylyhq/bc326359-7233-4747-bd63-8342f8db7c19_2023-03-15-02-44-34.mp4
Jibri 2023-03-15 02:45:09.846 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: FILENAME: bc326359-7233-4747-bd63-8342f8db7c19_2023-03-15-02-44-34.mp4
Jibri 2023-03-15 02:45:09.846 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: PARENT_PATH: /config/recordings/adpmdwhsregylyhq/
Jibri 2023-03-15 02:45:09.846 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: ROOM_NAME: bc326359-7233-4747-bd63-8342f8db7c19
Jibri 2023-03-15 02:45:09.846 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: PROCESSED_VIDEO_PATH: /config/recordings/processed/bc326359-7233-4747-bd63-8342f8db7c19/video_2023-03-15-02-45-08.mp4
Jibri 2023-03-15 02:45:09.846 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42:
Jibri 2023-03-15 02:45:09.847 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: Push File to cloud: /config/recordings/processed/bc326359-7233-4747-bd63-8342f8db7c19/video_2023-03-15-02-45-08.mp4
Jibri 2023-03-15 02:45:09.847 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42:
Jibri 2023-03-15 02:45:09.847 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42:
Jibri 2023-03-15 02:45:15.848 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: upload failed: ../../../../config/recordings/processed/bc326359-7233-4747-bd63-8342f8db7c19/video_2023-03-15-02-45-08.mp4 to s3://tarsoft-jitsi-meet/bc326359-7233-4747-bd63-8342f8db7c19/video_2023-03-15-02-45-08.mp4 Unable to locate credentials
Jibri 2023-03-15 02:45:16.439 INFO: [98] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: