Investigating persistent connection issues with Convai on HoloBox

What do you need help with?

Bug report

Installation method

Unity Asset Store

Issue area

API Key / Authentication

Impact

Blocker - I cannot continue

Unity version

Unity 6000.4.10f1

Convai Unity SDK version

4.2.0

Target platform

Windows

Where does it happen?

Both sample and custom scene

Short summary

Am getting connection error on a new device

What happened?

Hi Convai Team,

I’m experiencing a connection error on my project. The strange thing is that I’m running the exact same project and executable (.exe) on several different laptops, and it works perfectly fine. However, on the HoloBox, for some reason, neither the .exe nor the project running directly from Unity works.

I’ve spent quite a bit of time troubleshooting and checking firewall settings and other possible causes, but I haven’t been able to find anything that explains the issue.

I’ve attached a screenshot below showing the errors I get when running the project from Unity.

Could someone please help me investigate this? I’m running out of ideas and I’m not sure what else to try.

Thank you in advance!

Screenshots, recording, logs, or minimal repro

I checked the relevant documentation, resources, and similar forum posts before posting.

on

I confirm that I did not include API keys, tokens, passwords, secrets, private character data, private conversation logs, or customer data.

on

Thank you for the details.

Since the same project and executable work correctly on other laptops, the issue is likely specific to the HoloBox environment. Something on that device, such as firewall rules, network security settings, or local network restrictions, may be blocking the connection.

Could you please try running it using a mobile hotspot or a different network connection and check whether the issue still occurs?

I tried with different connection and mobile hot spot as well. But i get the same issue.

I’d appreciate any assistance in investigating this. I’ve exhausted the solutions I can think of and could use some fresh insight.

Hi @K3

Looks like there is an error connecting to the livekit room. We check the firewall and allow any connection.

Is there a way to get further logs on what is causing this?
We try to test from here , but we do not know the URL. (Dont know if it is actually possible to test from here)

Thanks

Thank you for testing with a different connection and mobile hotspot.

Based on the issue, please make sure the required LiveKit network/firewall requirements are allowed on the device and network environment. In particular, the following host should be accessible:

convai-technologies-lfslae7c.livekit.cloud

Please also ensure that the hosts and ports listed under LiveKit’s minimum firewall requirements are open:

If any of these are blocked by the device, network, firewall, or security policy, the connection may fail even if the same build works correctly on other machines.

Hi @K3

Can i test it from the attached web page?
How can i get a token?

Our firewall it seems that its ok. I am using windows firewall and i also tried and disabled it but am having the same issue.

You should be able to find it in the Unity logs.

Could you please share all the logs once you’ve played the scene?

Sorry could you please confirm where i can find the Unity logs

In the console.

the log errors that i get from the console are

Yes, please share.

Could you please provide more details about what you need and where I can find the relevant information? The console contains many errors and warnings, and I’m not sure which of them would be useful to share with you.

Please select all the console logs with Ctrl + A, then copy them with Ctrl + C and paste them here with Ctrl + V.

Here you go thanks!

LOGS.txt (234.8 KB)

<color=cyan>[16:46:43.688][Debug][Transport]: Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiVXNlciIsIm1ldGFkYXRhIjoie1wic3BlYWtlcl9pZFwiOiBcIjE0NWU4Y2YwLTYzMjMtMTFmMS1hMWY5LTk2M2VkMDRiNDMxYlwiLCBcInNwZWFrZXJfbmFtZVwiOiBcInVzZXJcIn0iLCJ2aWRlbyI6eyJyb29tSm9pbiI6dHJ1ZSwicm9vbSI6ImNvbnZhaS1yb29tLTQ2ZGE0ZjIzIiwiY2FuUHVibGlzaCI6dHJ1ZSwiY2FuU3Vic2NyaWJlIjp0cnVlLCJjYW5QdWJsaXNoRGF0YSI6dHJ1ZX0sInN1YiI6IlVzZXIiLCJpc3MiOiJBUEltYnBYdzY1eEt2MnUiLCJuYmYiOjE3ODEwMTI4MDEsImV4cCI6MTc4MTAzNDQwMX0.hSEA6zPnKRmUJuEepHgqjAx0kaf2f5sKOV8iZJgYLAA; Room Name: convai-room-46da4f23; Room URL: wss://convai-technologies-lfslae7c.livekit.cloud; Session ID: a7abe065-868d-4936-ae57-6edbb940b21f; Character Session ID: 27b8554f-2863-4cbe-9749-dd7ac8fde8c6
UnityEngine.Debug:Log (object)

URL: wss://convai-technologies-lfslae7c.livekit.cloud
Room Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiVXNlciIsIm1ldGFkYXRhIjoie1wic3BlYWtlcl9pZFwiOiBcIjE0NWU4Y2YwLTYzMjMtMTFmMS1hMWY5LTk2M2VkMDRiNDMxYlwiLCBcInNwZWFrZXJfbmFtZVwiOiBcInVzZXJcIn0iLCJ2aWRlbyI6eyJyb29tSm9pbiI6dHJ1ZSwicm9vbSI6ImNvbnZhaS1yb29tLTQ2ZGE0ZjIzIiwiY2FuUHVibGlzaCI6dHJ1ZSwiY2FuU3Vic2NyaWJlIjp0cnVlLCJjYW5QdWJsaXNoRGF0YSI6dHJ1ZX0sInN1YiI6IlVzZXIiLCJpc3MiOiJBUEltYnBYdzY1eEt2MnUiLCJuYmYiOjE3ODEwMTI4MDEsImV4cCI6MTc4MTAzNDQwMX0.hSEA6zPnKRmUJuEepHgqjAx0kaf2f5sKOV8iZJgYLAA

LiveKit URL:
wss://convai-technologies-lfslae7c.livekit.cloud
Room Token:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiVXNlciIsIm1ldGFkYXRhIjoie1wic3BlYWtlcl9pZFwiOiBcIjE0NWU4Y2YwLTYzMjMtMTFmMS1hMWY5LTk2M2VkMDRiNDMxYlwiLCBcInNwZWFrZXJfbmFtZVwiOiBcInVzZXJcIn0iLCJ2aWRlbyI6eyJyb29tSm9pbiI6dHJ1ZSwicm9vbSI6ImNvbnZhaS1yb29tLTQ2ZGE0ZjIzIiwiY2FuUHVibGlzaCI6dHJ1ZSwiY2FuU3Vic2NyaWJlIjp0cnVlLCJjYW5QdWJsaXNoRGF0YSI6dHJ1ZX0sInN1YiI6IlVzZXIiLCJpc3MiOiJBUEltYnBYdzY1eEt2MnUiLCJuYmYiOjE3ODEwMTI4MDEsImV4cCI6MTc4MTAzNDQwMX0.hSEA6zPnKRmUJuEepHgqjAx0kaf2f5sKOV8iZJgYLAA

Connecting to signal connection via WebSocket

Connected to server, version 1.12.0.

LiveKit Cloud: Israel

Establishing WebRTC connection

udp [2603:c027:4001:ef00::9d89:85da:a34f]:50004 host

udp 151.145.89.240:50004 host

tcp 151.145.89.240:7881 host (passive)

tcp [2603:c027:4001:ef00::9d89:85da:a34f]:7881 host (passive)

Can connect via TURN

Using region specific url

Can publish audio

detected audio from microphone

published 139 audio packets

Can publish video

received video frames

published 456 video packets

Resuming connection after interruption

From Connection Tester | LiveKit

Could you please share the screenshot?

Did you run this test on the HoloBox?

Yes, I ran the test through Holobox, and during the process it asked me to allow a few things, which I did. Now everything is working perfectly, thank you very much!

I’m not exactly sure what made it work whether it was the permissions I allowed or something else. I also changed the region in Windows, since I noticed it was set to US instead of EU. So I’m not sure which of these fixed the issue.

The important thing is that it’s working now. Thanks again, I really appreciate it!