Jibri no connecting to Docker Jitsi Meet instance


I am currently testing 2 setup:

  1. Jitsi Meet on server 1, and Jibri on server 2
  2. Docker Jitsi Meet on server 1, and Jibri on server 2

Setup #1 is now working, I can call and record meetings as expected.

With setup #2, video conferencing works ok but I can’t figure out how to get Jibri to talk with the Docker instance.

Here is my setup:

Docker Jitsi Meet is running on an EC2 instance behing a load balancer as part of a cluster (I followed this tutorial: Getting started with Jitsi, an open source web conferencing solution

Security Group is setup as follows:

80 tcp :heavy_check_mark:
22 tcp :heavy_check_mark:
8443 tcp, ::/0 :heavy_check_mark:
5222 tcp, ::/0 :heavy_check_mark:
10000 udp, ::/0 :heavy_check_mark:
443 tcp, ::/0 :heavy_check_mark:


All All :heavy_check_mark:
5222 tcp, ::/0 :heavy_check_mark:

The load balancer is set up with 3 listeners:
HTTP 80 redirects to HTTPS 443
HTTPS 443 forwards to target group
TCP 5222 forwards to target group

My task definition: https://pastebin.com/MxHuiZW5

Jibri is setup on an EC2 instance. I added outbound TCP 5222 to the security group just in case.
The Jibri config: https://pastebin.com/XgD7K9er
I am unsure whether I should use the docker aliases in the config so I also tried this config: https://pastebin.com/uE5E5fkC

When I start recording, I have the "recording unavailable message straight away. You can find the logs below:

Jicofo: https://pastebin.com/ZnT2jdrR
Prosody: https://pastebin.com/MecNBMxW
Jibri: https://pastebin.com/PiUnQDgS

Does anyone have a similar setup, or can shed light on my issue?

Thanks in advance