Sudden Disconnection is happening

using my cloud project “wss://********.livekit.cloud”" first it takes time to connect then after a while the participant is disconnected and sometimes the track (video) is lost ,we are on test trial for migrating to LiveKit , we have some concerns about the reliability of liveKit for our platform

What session ID suddenly disconnected? It starts with RM_

room id:

RM_qmS4RSw3LBaD


i’m keeping the participant in the room then it’s kicked out , but don’t know why

Usually I would say this looks like client connection issues, but it is affecting all your participants and more than one of your sessions (every one I looked at). Some of your rooms have multiple agents joined (RM_qKLYtH4HEXe5 has 7).

Two questions:

  • What does the network conditions look like for these participants? It feels like they are continually trying to connect and reaching out to different regions.
  • How are you dispatching participants and agents to rooms?

A good starting place would be to test participant connection using meet on your network, https://meet.livekit.io/, without agents, to get a baseline of a ‘known working’ setup.

even on the https://meet.livekit.io/ room-id: RM_mXBKZuiXHwb2
i tried my project (custom tab) and generate the token from my end , but still getting the same issue after a 20 secs it’s disconnecting

from my end i disabled the agent dispatching for now until i understand where is the disconnecting issue coming from

joinRoom.txt (6.4 KB)
this is my code for participants f
for agents
i’m doing
`var dispatchId = await _agentClient.DispatchAgentAsync(evt.Room.Name, _options.ImageAnalyzerAgentName);

_dispatches[evt.Participant.Identity] = (dispatchId, evt.Room.Name);

_logger.LogInformation(“Dispatched agent for candidate {Identity}, DispatchId: {DispatchId}”, evt.Participant.Identity, dispatchId);`