We’re trying to implement backend live transcripti...
# ask-ai
c
We’re trying to implement backend live transcription capture for SIP calls using livekit/rtc-node, and we’re seeing a consistent region‑info error only in our Cloud Run environment. • Realtime SDK: • livekit/rtc-node@0.13.21 • Server SDK:
livekit-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:
Copy code
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:
Copy code
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.
t
Thanks for reaching out, Joshua. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
c
okay any ideas of live calls and storing my history via a backend?