Skip to content

Element call does not work in test cluster ("Waiting for media...") #681

@xiyori

Description

@xiyori

Element call initially goes through but after everyone joins the room there is no audio or video feed:

Image

I set up Element stack for testing purposes following this guide. Exact steps:

  • Edit hosts:
...
127.0.0.1    chat.ess.localhost
127.0.0.1    account.ess.localhost
127.0.0.1    matrixrtc.ess.localhost
127.0.0.1    ess.localhost
127.0.0.1    matrix.ess.localhost
  • Edit hostnames.yaml:
# Copyright 2024-2025 New Vector Ltd
#
# SPDX-License-Identifier: AGPL-3.0-only

elementWeb:
  ingress:
    host: chat.ess.localhost

matrixAuthenticationService:
  ingress:
    host: account.ess.localhost

matrixRTC:
  ingress:
    host: matrixrtc.ess.localhost
  hostAliases:
  - hostnames:
    - ess.localhost
    - matrixrtc.ess.localhost
    ip: '127.0.0.1'
  sfu:
    additional:
      example-value:
        config: |
          rtc:
            use_external_ip: false

serverName: ess.localhost

synapse:
  ingress:
    host: matrix.ess.localhost
  hostAliases:
  - hostnames:
    - ess.localhost
    - matrix.ess.localhost
    ip: '127.0.0.1'
  • ./scripts/setup_test_cluster.sh
  • helm -n ess upgrade -i ess charts/matrix-stack -f charts/matrix-stack/ci/test-cluster-mixin.yaml -f ~/ess-config-values/hostnames.yaml --wait --debug
  • kubectl exec -n ess -it deploy/ess-matrix-authentication-service -- mas-cli manage register-user
  • In the browser go through every domain name in hosts and accept security exception
  • Log in, create room and initiate call

I also tried using 2 separate devices instead of browser sessions on one device and got the same results. What am I doing wrong? Is it possible to test element call like this at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions