melodic-arm-17634
07/21/2025, 6:07 PMInitial connection failed with ConnectionError: could not establish pc connection. Retrying with another region: <https://XXXXX.production.livekit.cloud> {"room":"XXXXXX","roomID":"XXXX","participant":"XXXXXXXX,"pID":"XXXXX"}
what does it mean and how do i fix it?tall-airline-16756
07/21/2025, 6:08 PMtall-airline-16756
07/21/2025, 6:09 PM*.turn.livekit.cloud on TCP port 443.
• Force TURN relay-only mode: You can configure your client to always use TURN (relay-only) by setting:
`connectOpts.rtcConfig = { iceTransportPolicy: 'relay' };`This forces all traffic through TURN, which is more likely to work through strict firewalls.
• Use TURN over TLS: TURN over TCP/TLS on port 443 mimics normal HTTPS traffic and is less likely to be blocked by corporate firewalls.
• Test connectivity: Use the LiveKit Connection Tester tool from within the affected network to diagnose which connection types are blocked.
Persistent failures across multiple regions almost always indicate local network restrictions that need to be addressed by the company's IT or network team.
Sources: lib/src/exceptions.dart | CHANGELOG.md | Firewall Tips | Connecting to LiveKit | LiveKit Docsmelodic-arm-17634
07/22/2025, 5:11 PMtall-airline-16756
07/22/2025, 5:12 PMmelodic-arm-17634
07/22/2025, 5:12 PMmelodic-arm-17634
07/22/2025, 5:24 PM