I'm getting errors like this in livekit server log...
# ask-ai
d
I'm getting errors like this in livekit server logs.
Copy code
{
  "level": "warn",
  "ts": 1765448593.9684718,
  "logger": "livekit.psrpc.RoomManager.CreateRoom",
  "caller": "rpc/logging.go:66",
  "msg": "client error",
  "topic": [
    "ND_Hfu52LYwWnp"
  ],
  "request": {
    "name": "livekit-call-wb9ej1"
  },
  "response": null,
  "duration": 0.000049997,
  "error": "no response from servers"
}
t
Thanks for reaching out, akshat. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m responding about the "no response from servers" warning you pasted from
livekit.psrpc.RoomManager.CreateRoom
. That warning means the RoomManager sent an internal psRPC request to create a room but did not receive a reply from the target service. Common causes are network/connectivity between nodes, the target service being unresponsive or overloaded, internal timeouts during cross-node coordination, or firewall rules blocking service-to-service traffic. To diagnose quickly, please tell me: • How you deployed LiveKit (Cloud, self-hosted binary, Docker, or Kubernetes). • Single-node or multi-node / multi-region cluster? • Whether you use Redis or other external state stores for coordination. • Any recent config, network, or infra changes. • Frequency of the error (one-off or repeated) and whether it correlates with high load or specific actions. • Logs from other nodes or services around the same timestamp (other LiveKit nodes, Redis, or networking/firewall logs). If you prefer, share the Room name and the approximate server timestamp again and I’ll point to the next specific checks to run. Sources: Server-side | livekit/livekit_composite | DeepWiki | How We Built a Globally Distributed WebRTC Mesh Network | CreateRoom() is Taking Too Long | Firewall Tips | Deploying to custom environments | LiveKit docs
d
Which is the target service here?
t
The target service is the Room Service — specifically the Room Service instance in the other node/region that RoomManager tries to contact during cross-region or multi-node room creation. The warning means that those remote Room Service instances did not reply in time. Sources: CreateRoom() is Taking Too Long
d
Is it part of the livekit server service?
t
Yes — the Room Service is an internal component of the LiveKit server. In single-node deployments it runs inside the same LiveKit process; in clustered or multi-region deployments each LiveKit node runs its own Room Service instance and RoomManager coordinates between those instances. The "no response from servers" message means those other Room Service instances did not reply to the RoomManager's psRPC request.
d
It's a a single node deployment running on an EC2.
t
Since you’re on a single-node EC2, the Room Service runs inside the same LiveKit process. That means the "no response from servers" warning indicates the local psRPC machinery failed to get a reply from the local Room Service instance — usually caused by one of: • the RPC listener didn’t start or bound to the wrong interface/port • the process was overloaded (high CPU/memory) and couldn’t respond in time • internal ports/protocols blocked by host firewall or security group rules • a dependency used for coordination (e.g., Redis) is unreachable or misconfigured • the LiveKit process experienced an internal error (panic, goroutine stall, OOM) preventing replies Please provide: • LiveKit version and how you started it (binary, Docker, systemd, etc.) • your LiveKit config (not secrets) — especially
rpc
/
port
/
external_bind_address
and Redis settings if used • recent changes to the instance (OS updates, security group changes) • CPU/memory usage around the error and frequency of the warning • any other logs around the same timestamp (startup logs, Redis logs, or panic/stack traces) Quick checks you can run now: 1. Confirm the LiveKit process is up and check its logs for startup errors. 2. Verify the RPC port is listening (e.g.,
ss -lntp
/
netstat -lntp
) and the process owns it. 3. Check security group / iptables to ensure internal localhost or node ports aren’t blocked. 4. Check Redis connectivity (if configured) and LiveKit health endpoint. 5. Restart the LiveKit process and watch logs during startup for errors. Tell me the version, config snippet, and any relevant logs and I’ll point to the next targeted steps.
d
Both the livekit agents and the livekit server have normal memory and cpu utilization. It's only happening for some calls requests not all.
t
Thanks — since CPU/memory look normal and the error is intermittent, let's narrow it down. I’m responding about intermittent "no response from servers" warnings on your single-node EC2 LiveKit instance. Please provide: • LiveKit version and how you run it (binary, Docker, systemd). • Your LiveKit config (redact secrets) — especially
rpc
/
port
/
external_bind_address
and any Redis settings. • A few full log snippets (30s before/after) for both the warning timestamps and a successful CreateRoom for comparison. • Whether Redis is configured and its host/port (or
none
if not used). Immediate checks to run now: 1. Enable debug logging in LiveKit and reproduce the issue to capture more detailed psRPC traces. 2. On the instance, run
ss -lntp
(or
netstat -lntp
) and paste the line showing the LiveKit RPC listener. 3. If using Redis, run
redis-cli --latency -h <host>
and
redis-cli info
to check latency and connected clients. 4. Search logs for any goroutine panics, large GC pauses, or repeated RPC timeouts around the timestamps. If you share the version, config snippet, and the requested log lines, I’ll point to the next targeted troubleshooting steps and specific config adjustments (time limits, retries) to try.
d
Can this error be related to livekit agents or just the livekit server?
t
Good question — this warning comes from the LiveKit server’s internal psRPC Room Service, not directly from LiveKit agents. • The Room Service (inside the LiveKit process on your single-node EC2) is the target that failed to reply to the RoomManager’s psRPC request. • LiveKit agents communicate with the server over regular client/ingress paths; they don’t serve psRPC requests. So agents won’t directly produce a "no response from servers" psRPC error. • Agents can indirectly contribute if their activity causes spikes (high concurrent room creations, signaling load, or heavy media churn) that overload the server or its dependencies, which could make the Room Service slow or unresponsive for short periods. If you want, I can: • Check for correlation by reviewing agent logs and server logs around an error timestamp you provide. • Suggest targeted server-side checks (psRPC debug logs, RPC listener, Redis latency, goroutine stalls) if you prefer those next steps. Which would you like to do?