Hi team, we’re on the Build (free) plan and hit what looks like a real bug, already filed via the “Report Service Outage” form two days ago with no response yet – posting here too since this is actively blocking our product’s live-session features for real users.
Symptom: room.localParticipant.publishData() throws UnexpectedConnectionState: PC manager is closed (from ensureDataTransportConnected → ensurePublisherConnected) – but audio/video publish and playback work fine in the exact same session, at the exact same time. It looks like the data-channel-specific negotiation path is failing while the media path succeeds.
What we ruled out before posting:
- Not network quality – reproduced identically on strong WiFi (zero disconnects/timeouts recorded server-side) and on mobile data.
- Not application code – happens identically on an older, previously-working feature and on brand-new code using the same publishData API.
- Not permissions/tokens – both host and guest tokens grant identical canPublish/canSubscribe/canPublishData: true, confirmed via the actual JWT grants in the session event payloads.
Project: p_4h2vfxklklg (“Progmetics OS”). livekit-client ^2.22.0, @livekit/components-react ^2.9.24, livekit-server-sdk ^2.18.0. Affected sessions include RM_o2xJyUgcFSqN, RM_6rQfc8nKbNLv, RM_ytWMiudkXamb, and RM_ATviyYitbdAY – all show the same “PC manager is closed” error on the data channel only. One detail that may or may not be related: host and guest were routed to different regional edges (odubai1a vs ohyderabad1a) in some of these sessions – flagging in case it’s relevant, though we don’t believe cross-region routing itself is the bug. Happy to share full console traces, session event payloads, or a screen recording of a reproduction if that helps – just let us know what’s most useful.