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?
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_TRANSPORTServer configuration:
What works:
curl -k https://matrix.rdk-invest.ru:8450/_matrix/client/versions→ JSONcurl -k https://matrix.rdk-invest.ru:8450/livekit/→ OKcurl -k https://matrix.rdk-invest.ru:8450/livekit/jwt/healthz→ empty (not 404).well-known/matrix/clientcontainsrtc_focisectionlivekit_jwt_ssoconfigured in homeserver.yaml.well-known/matrix/client:
homeserver.yaml excerpt:
Issue:
When I try to make a call in Element X:
Question:
Why doesn't Synapse forward call requests to LiveKit/JWT Service? What additional configuration is needed?