To troubleshoot connection issues with your LiveKit agent, consider the following steps:
1.
Check Network Configuration: Ensure that your AWS security group settings allow the necessary inbound and outbound traffic for LiveKit. Refer to the
to verify that the required ports are open.
2.
Review Agent Logs: Although you mentioned no errors, ensure that your logs are set to a detailed level to capture all events. This can help identify any subtle issues.
3.
Capacity and Load: Confirm that your agent is not overloaded. Even if CPU and RAM appear fine, the number of concurrent connections might exceed the agent's capacity. Consider scaling your setup if necessary.
4.
Connection Stability: If the issue is intermittent, it might be related to network stability. Check for any network latency or packet loss between your server and LiveKit.
5.
LiveKit Configuration: Ensure that your LiveKit server URL and API keys are correctly configured. A common issue is incorrect credentials leading to connection failures.
6.
Update Dependencies: Make sure all your LiveKit-related packages and dependencies are up to date, as updates may contain important bug fixes.
Would you like more detailed guidance on any of these steps?
Sources:
-
Figure Image 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.