matrix-docker-ansible-deploy
matrix-docker-ansible-deploy copied to clipboard
Element Call Failing - No Audio/Video, "Waiting for Media" on Mobile
Playbook Configuration:
My vars.yml file looks like this:
exim_relay_enabled: false
#matrix_coturn_enabled: false
matrix_element_call_enabled: true
matrix_synapse_admin_enabled: true
matrix_synapse_enable_registration: true
matrix_synapse_enable_registration_without_verification: true
matrix_synapse_registration_requires_token: true
matrix_synapse_auto_compressor_enabled: true
matrix_synapse_auto_compressor_schedule: "*-*-* 00:00:00"
matrix_synapse_auto_join_rooms: ["#welcome:redacted.url"]
matrix_synapse_auto_accept_invites_enabled: true
matrix_synapse_log_level: "INFO"
matrix_synapse_storage_sql_log_level: "INFO"
matrix_synapse_root_log_level: "INFO"
matrix_synapse_workers_enabled: true
matrix_synapse_workers_preset: one-of-each
matrix_static_files_container_labels_base_domain_enabled: true
Matrix Server:
- OS: [Debian 12]
- Architecture [amd64]
Ansible:
ansible [core 2.14.18]
config file = /home/user/matrix-docker-ansible-deploy/ansible.cfg
configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
ansible collection location = /home/user/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] (/usr/bin/python3)
jinja version = 3.1.2
libyaml = True
Problem description:
When initiating a call (voice or video) via Element Web, the UI shows no participants joining, and no audio/video is transmitted. On Element X (Android/iOS), the call interface remains stuck at "Waiting for media".
Initially suspected missing Coturn (TURN server), but the issue persists after enabling Coturn.
Additional context
log of matrix-livekit-jwt-service.service
Mar 24 20:13:00 [] matrix-livekit-jwt-service[40418]: 2025/03/25 00:13:00 Request from redacted.ip:port at "https://call.element.redacted.url"
Mar 24 20:13:00 redacted matrix-livekit-jwt-service[40418]: 2025/03/25 00:13:00 Request from redacted.ip:port at "https://call.element.redacted.url"
Mar 24 20:13:00 redacted matrix-livekit-jwt-service[40418]: 2025/03/25 00:13:00 Failed to look up user info: Get "matrix://redacted.url/_matrix/federation/v1/openid/userinfo?access_token=redacted": dial tcp: lookup redacted.url on 127.0.0.11:53: no such host
ufw status
22/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
443/udp ALLOW Anywhere
8448/tcp ALLOW Anywhere
8448/udp ALLOW Anywhere
7881/tcp ALLOW Anywhere
7882/udp ALLOW Anywhere
3478/tcp ALLOW Anywhere
3478/udp ALLOW Anywhere
5349/tcp ALLOW Anywhere
5349/udp ALLOW Anywhere
49152:49172/udp ALLOW Anywhere
Iād be happy to share sanitized configs/logs if needed. Thanks in advance for your expertise! š