livekit-examples / voice-assistant-frontend

A simple voice assistant example built with Next.js and LiveKit React Components
https://sandbox-voice-assistant-livekit.vercel.app
Apache License 2.0
32 stars 29 forks source link

Failed to connect to livekit (localhost:7880) #15

Open Ashoka74 opened 3 weeks ago

Ashoka74 commented 3 weeks ago

After connecting to Cloud from local files, I get this message when running in dev:

{"message":"failed to connect to livekit, retrying in 4s: Cannot connect to host localhost:7880 ssl:default [The remote computer refused the network connection]", "level": "WARNING", "name": "livekit.agents", "timestamp": "2024-10-12T19:29:55.138077+00:00"}

davidzhao commented 3 weeks ago

you need to set LIVEKIT_URL in your env, otherwise it might be trying to connect to local LiveKit