able-leather-48732
12/12/2025, 3:50 PMagent-starter-react and agent-starter-python on local dev... it runs fine and the connection establishes well and the agent joins the room successfully.
However then i deployed my frontend on vercel and agent-starter-python is up and running in AzureVM. Now when i hit api/connection-details from my Vercel deployed frontend; for some reason the agent won't join and i don't see any logs or (received job request) in my python agent project logs....tall-airline-16756
12/12/2025, 3:50 PMtall-airline-16756
12/12/2025, 3:51 PMapi/connection-details but the Python agent on the Azure VM never logs or receives job requests.
To narrow this down I need a few quick diagnostics from you:
1. From the Azure VM, can you paste the output of:
◦ curl -v -H "Connection: Upgrade" -H "Upgrade: websocket" https://yourproject.livekit.cloud
◦ telnet yourproject.livekit.cloud 443 (or nc -vz yourproject.livekit.cloud 443)
1. Confirm the environment variables on the VM for the agent: LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET (hide secrets — just confirm values/format look correct and that the URL uses your LiveKit project domain).
2. Do you see any connection or TLS errors in the agent logs when it starts? If not, increase logging with:
import logging
logging.basicConfig(level=logging.DEBUG)
1. Check Azure networking:
◦ Are outbound connections allowed to port 443 in the VM’s NSG/firewall?
◦ Is the VM behind a corporate proxy that requires special proxy environment vars?
1. From the Vercel frontend, does the api/connection-details response include the room token that references agent dispatch (if you use RoomConfiguration/agents)? Share the JSON response (remove secrets) or confirm the presence of agent-related fields.
2. Confirm DNS resolution on the VM: nslookup yourproject.livekit.cloud
What I’ll look for after you send those results:
• Whether the VM can reach LiveKit over WSS (if not, open outbound 443/allow WSS).
• Misconfigured URL/credentials that prevent the agent from establishing the outgoing JobContext websocket.
• Missing agent dispatch configuration in the generated token.
Send the outputs for 1–3 and answers to 4–6 and I’ll point the exact next steps.
Sources: Connecting to LiveKit | LiveKit docs | examples/survey | livekit/livekit_composite | DeepWiki | client-sdk-js | livekit/livekit_composite | DeepWiki | Authentication | LiveKit docs