Skip to content

Element X cannot make calls (MISSING_MATRIX_RTC_TRANSPORT) despite fully configured LiveKit #19621

@Yason24

Description

@Yason24

Description:

I'm trying to set up Element X with my self-hosted Matrix server. Text messaging works, but calls fail with error: MISSING_MATRIX_RTC_TRANSPORT

Server configuration:

  • Synapse: 1.150.0
  • MAS: Matrix Authentication Service
  • LiveKit: 1.10.0
  • JWT Service: lk-jwt-service 0.4.1
  • Domain: matrix.rdk-invest.ru:8450

What works:

  • curl -k https://matrix.rdk-invest.ru:8450/_matrix/client/versions → JSON
  • curl -k https://matrix.rdk-invest.ru:8450/livekit/ → OK
  • curl -k https://matrix.rdk-invest.ru:8450/livekit/jwt/healthz → empty (not 404)
  • .well-known/matrix/client contains rtc_foci section
  • ✅ All experimental flags enabled (msc3266_enabled, msc4222_enabled, msc4140_enabled, msc4143_enabled)
  • livekit_jwt_sso configured in homeserver.yaml

.well-known/matrix/client:

json

{
  "m.homeserver": {"base_url": "https://matrix.rdk-invest.ru:8450"},
  "org.matrix.msc4143.rtc_foci": [{
    "type": "livekit",
    "livekit_service_url": "https://matrix.rdk-invest.ru:8450/livekit",
    "livekit_jwt_service_url": "https://matrix.rdk-invest.ru:8450/livekit/jwt"
  }]
}

homeserver.yaml excerpt:

yaml

experimental_features:
  msc3266_enabled: true
  msc4222_enabled: true
  msc4140_enabled: true
  msc4143_enabled: true

livekit_jwt_sso:
  enabled: true
  livekit_jwt_sso_url: "https://matrix.rdk-invest.ru:8450/livekit/jwt/sfu/get"
  livekit_key: "matrix"
  livekit_secret: "S02oQ4mqLVb9SIC6hwhfOVQVHXQg2f5f"
  livekit_sfu_url: "https://matrix.rdk-invest.ru:8450/livekit/sfu"

Issue:
When I try to make a call in Element X:

  • No requests appear in JWT Service logs
  • No "livekit/jwt" mentions in Synapse logs

Question:
Why doesn't Synapse forward call requests to LiveKit/JWT Service? What additional configuration is needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions