average-yak-19715
05/11/2026, 9:46 PMtall-airline-16756
05/11/2026, 9:46 PMtall-airline-16756
05/11/2026, 9:46 PMhttps://www.google.com) to confirm general outbound TLS connectivity? If not, is there an egress proxy, VPC egress rule, or firewall that could affect outbound HTTP from the container?
2. Can you share the full error text (including any nested cause) from the agent logs around the "error sending request" line? That helps confirm whether the failure is DNS, TLS handshake, or connection timeout/refusal.
3. Can you confirm whether the agent containers run with any network namespace isolation (e.g., custom CNI, restrictive iptables) or an HTTP proxy environment variable (HTTP_PROXY, HTTPS_PROXY, NO_PROXY) set inside the container?
4. As a quick test, can you try from inside the container:
◦ curl -v https://wingman-31s02l4a.region.production.livekit.cloud/settings/regions
◦ node -e "require('https').get('https://www.google.com', r=>console.log(r.statusCode)).on('error',e=>console.error(e))"
Share results/stack traces if possible.
What I can do next after those answers:
• If the failure looks network/TLS-related inside the container, I’ll walk you through targeted checks and a temporary workaround: manually providing region info or forcing the SDK to connect directly to the local region host (I’ll give exact code/snippet once you confirm the environment).
• If the error clearly shows an rtc-node HTTP client bug, I’ll escalate with the exact logs and reproduce details (you've already given project/dispatch IDs which is very helpful).
If you'd like, grant the logs you can paste here (sanitized) and the curl/node test outputs and I’ll propose the precise workaround or next steps.
, with interactive elementsaverage-yak-19715
05/11/2026, 10:05 PMhttps.get probes added on startup:
Q1 — Proxy env vars: ALL UNSET
HTTP_PROXY = <unset>
HTTPS_PROXY = <unset>
NO_PROXY = <unset>
http_proxy = <unset>
https_proxy = <unset>
Q2 — Outbound TLS sanity (google.com):
https://www.google.com/ → status=200 time=99ms ✅
(also 82ms, 132ms, 158ms across multiple worker restarts)
Q3 — LiveKit URLs reachable via Node `https`:
PROJECT URL:
https://wingman-31s02l4a.livekit.cloud/settings/regions
→ status=200 time=11-24ms ✅
REGIONAL URL (us-east):
https://wingman-31s02l4a.oashburn1b.production.livekit.cloud/settings/regions
→ status=200 time=271-310ms ✅
REGIONAL URL (eu-central, current pod region):
https://wingman-31s02l4a.ofrankfurt1b.production.livekit.cloud/settings/regions
→ status=200 time=13-86ms ✅
All four endpoints return HTTP 200 with a valid region list, from
inside the same container, AT THE SAME TIME as Room.connect() throws
"error sending request" for the same URL.
So:
- Egress is NOT blocked (google.com 200, LiveKit URLs 200)
- No proxy injected (env all unset)
- The rtc-node Rust HTTP client is the only path failing — Node's stdlib
https succeeds against the exact URLs rtc-node fails on, in the
same process, same container, same network egress
Latest repro (dispatch AJ_5pfFvriHqrMw, 2026-05-11T21:54Z):
[wm-agent] Room.connect override
original=https://wingman-31s02l4a.ofrankfurt1b.production.livekit.cloud
using=wss://wingman-31s02l4a.livekit.cloud
ctx.connect() THREW: engine: signal failure: failed to retrieve
region info: error sending request for url
(https://wingman-31s02l4a.livekit.cloud/settings/regions)
Stack: Room.connect at /app/node_modules/@livekit/rtc-node/dist/room.js:506
Two follow-ups would unblock us:
(1) Confirm this is a known rtc-node Rust HTTP bug and share the
GitHub tracking issue or fix ETA, OR
(2) Provide an SDK escape hatch — env var, RoomOptions field, or
build-time flag — that makes rtc-node either skip the
/settings/regions GET or fall back to Node's HTTP client for that
one request. The browser-side livekit-client already treats this
failure as non-fatal; the same behavior in rtc-node would let
our agent join the room without your team shipping a regression
fix first.
Happy to add more probes if a specific test would help isolate further
(e.g., DNS-only, TLS-only, IPv6 vs IPv4, etc).
Thanks!
— Beibeitall-airline-16756
05/11/2026, 10:06 PMhttps can GET both the project and regional /settings/regions URLs (200),
• but ctx.connect() still fails with "error sending request" from rtc-node's Rust HTTP client.
Quick answers to your three asks, and a short next step plan:
1) Is this a known rtc-node Rust HTTP bug?
• I cannot confirm a public issue or tracking ticket right now. Your diagnostics strongly indicate the Rust HTTP client inside @livekit/rtc-node is failing to send that request while Node’s https works — that narrows it to the SDK’s native HTTP path.
2) Is there an SDK flag to bypass region discovery?
• There is no documented environment variable or official RoomOptions flag to skip the /settings/regions fetch.
3) ETA or workaround?
• Immediate pragmatic workaround: connect directly to the regional websocket URL (bypasses region discovery). Example:
// Use the regional host instead of the project wss endpoint
const regionalUrl = 'wss://wingman-31s02l4a.ofrankfurt1b.production.livekit.cloud';
await room.connect(regionalUrl, token);
This should allow the agent to join the room in-place while we resolve the fetch failure.
Next steps I’ll take for you:
• I’ll escalate this with your repro details (project, dispatch IDs, SDK versions, and the inside-container probes you ran) so engineering can confirm and open a tracking issue if one doesn’t exist.
• Meanwhile, if you want a quicker test I can provide, try forcing the regional URL in your agent code and report whether it reliably connects for the failing dispatches.
If you want me to proceed opening the internal issue now, confirm and I’ll include the exact logs/dispatch IDs you listed.
Sources: Checklist for Regional Deployments | LiveKit | Diagnosing Connection Errors with Connection Test Utility, with interactive elementsaverage-yak-19715
05/11/2026, 10:20 PMtall-airline-16756
05/11/2026, 10:20 PM