cool-queen-46059
12/04/2025, 4:03 PMlivekit-server-sdk (Node)
• Runtime (Cloud Run): Node 20, Debian (node:20-bullseye-slim base image)
What we’re doing
• LiveKit webhooks (room_started / participant_joined / room_finished, etc.) hit our Next.js API route: /api/webhook.
• In the webhook handler, we call a helper that starts a listener participant using livekit/rtc-node to capture lk.transcription text streams and write them to Firestore for transcript history.
All roomService calls (listRooms, listParticipants, etc.) work fine, and /api/webhook?source=livekit returns data correctly.
The problem
On Cloud Run, whenever the listener tries to join, we get:
text
[transcription:[roomname]PhoneNumber_HukgBdrsFMdT] startup failure Error:
engine: signal failure: failed to retrieve region info:
error sending request for url (https://livekit_cloud_url.livekit.cloud/settings/regions)
at async ...
Then:
text
[transcription:... ] finishing session { status: 'error', reason: 'engine: signal failure: failed to retrieve region info: ...' }
[transcription] Unable to start live transcription Error: engine: signal failure: failed to retrieve region info: ...
Observations
• The same code and env vars work on my local dev machine (Windows + Node & Mac + Node)
• livekit/rtc-node
• connects and we successfully capture lk.transcription.
◦ On Cloud Run:Webhooks succeed (HTTP 200).
◦ RoomServiceClient calls succeed.
◦ Only `rtc-node`’s internal call to https://livekit_cloud_url.livekit.cloud/settings/regions fails.
• We previously hit the
• livekit/rtc-node-linux-x64-musl
• missing‑binary issue when using Alpine, and fixed that by switching both Docker stages to node:20-bullseye-slim. The native binding now loads; only /settings/regions is failing.
What we’re trying to achieve
We want a backend listener that:
• Joins every room as a hidden participant,
• Listens to lk.transcription,
• Stores structured transcript segments (with roles, segment IDs, etc.) in Firestore,
• So later our dashboard can show full transcript history for calls, even if nobody had the web UI open live.
Request
Could you please:
1. Check your logs for /settings/regions requests for project .Livekit_cloudlivekit.cloud around
◦ 2025-12-04T00:23–00:26 IST (and similar recent calls), and tell us:What status code / error is being returned?
◦ Why the region info fetch is failing only from rtc-node on Cloud Run, while REST calls succeed?
2. Confirm if there are any region pinning / project settings we need to enable or adjust for rtc-node clients?
3. Let us know if this looks like a known issue with
4. livekit/rtc-node
5. in this environment.
If you need more precise timestamps or logs from our side, we can provide them. Our main goal is to get this backend listener working reliably so we can maintain full live transcript history for all calls.tall-airline-16756
12/04/2025, 4:03 PMtall-airline-16756
12/04/2025, 4:04 PMcool-queen-46059
12/04/2025, 4:06 PM