Hello Community Members, We are seeking support f...
# self-hosting
b
Hello Community Members, We are seeking support for our LiveKit on EKS deployment. Participants can successfully join a room and share messages on chat, but they cannot see or hear each other. We would appreciate your expert review of our setup and configuration • Environment Summary ◦ Provider: AWS EKS ◦ Networking: EKS worker nodes are in public subnets within a custom VPC. ◦ Ingress: AWS Load Balancer Controller is installed and functional. ◦ LiveKit Version:
livekit-server-1.9.0
(from official Helm chart). • Deployment Topology ◦ Signaling ( Handled by an AWS ALB created via Kubernetes Ingress. This is working correctly. ◦ TURN ( Handled by an AWS NLB created via a
Service
of type
LoadBalancer
. ◦ TLS: Valid ACM certificates are attached to both load balancers via annotations. • Problem Description • What Works: ▪︎ Multiple participants can successfully connect and appear in the participant list. ◦ Server logs confirm
starting RTC session
and
mediaTrack published
, indicating the server is receiving the initial connection and client media streams. • What Fails: ▪︎ No audio or video is transmitted between participants (black screens, no sound). ◦ This indicates a failure in the media subscription path from the server back to the clients. • Key Error Log • The server logs consistently show this warning for all participants, confirming the subscription failure: • code • Code ◦ WARN livekit.sub rtc/subscriptionmanager.go:449 track not bound after timeout • Troubleshooting Steps Completed • Worker Node Security Group: We have added inbound rules from
0.0.0.0/0
for: ▪︎ UDP
50000-60000
(WebRTC) ▪︎ TCP
7881
(WebRTC Fallback) ◦ Required TCP & UDP ports for our TURN configuration. ◦ Load Balancers: Verified that ALB target groups are healthy and the NLB is provisioned. • Our Question ◦ Despite correct firewall rules (we believe), the media plane is failing. Could you please review our attached
values.yaml
for any misconfigurations that could cause this one-way media issue? livekit-server values.yaml
Copy code
replicaCount: 1

terminationGracePeriodSeconds: 18000

livekit:
  port: 7880
  # Uncomment to enable prometheus metrics
  # prometheus_port: 6789
  log_level: info
  rtc:
    use_external_ip: true
    allow_tcp_fallback: true
    # default ports used
    port_range_start: 50000
    port_range_end: 60000
    tcp_port: 7881
  redis:
    address: redis-service:6379
  keys:
    <key>: "<secret>"
  turn:
    loadBalancerAnnotations:
      service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
      service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "<ACM_ARN>"
      service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "turn-tls"
    enabled: true
    domain: turn.<domain>.com
    external_tls: true
    tls_port: 3478
    udp_port: 443
    serviceType: "LoadBalancer"

loadBalancer:
  type: alb
  annotations:
    alb.ingress.kubernetes.io/certificate-arn: "<ACM_ARN>"
    alb.ingress.kubernetes.io/scheme: "internet-facing"
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
    alb.ingress.kubernetes.io/ssl-redirect: "443"

  tls:
    - hosts:
      - livekit.<domain>.com

autoscaling:
  enabled: true
  minReplicas: 1
  maxReplicas: 5
  targetCPUUtilizationPercentage: 60

nodeSelector:
  {}

resources:
  limits:
    cpu: 1000m
    memory: 2048Mi
  requests:
    cpu: 500m
    memory: 1024Mi

readinessProbe:
  httpGet:
    path: /
    port: 7880
  initialDelaySeconds: 30
  timeoutSeconds: 5
  periodSeconds: 10
  failureThreshold: 3
Browser console error :
Copy code
livekit.test.com/settings:1  Failed to load resource: the server responded with a status of 404 ()Understand this error
index.js:20641 Uncaught (in promise) Error: Could not authenticate. Server responded with status 404: 
    at EZ.j (index.js:20641:1)
    at async EZ.setEnabled (index.js:20620:1)
    at async Ev.setEnabled (index.js:20722:1)Understand this error
livekit.test.com/settings:1  Failed to load resource: the server responded with a status of 404 ()Understand this error
intercept-console-error.ts:41 Krisp hook: error enabling filter Error: Could not authenticate. Server responded with status 404: 
    at EZ.j (index.js:20641:1)
    at async EZ.setEnabled (index.js:20620:1)
    at async Ev.setEnabled (index.js:20722:1)