Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LiveKit Connection Issue on Linux: Works on Mac but Not on Linux #49

Open
god-ts opened this issue Feb 5, 2025 · 2 comments
Open

LiveKit Connection Issue on Linux: Works on Mac but Not on Linux #49

god-ts opened this issue Feb 5, 2025 · 2 comments

Comments

@god-ts
Copy link

god-ts commented Feb 5, 2025

LIVEKIT_API_KEY="devkey"
LIVEKIT_API_SECRET="secret"
LIVEKIT_URL="ws://127.0.0.1:7880"

I am using a Linux system, and the above is the content of my .env.local file. However, I found that I cannot connect. How can I solve this issue? I used the same method on Mac, and it worked fine.

@davidzhao
Copy link
Contributor

can you provide logs? what does livekit server indicate

@god-ts
Copy link
Author

god-ts commented Feb 7, 2025

can you provide logs? what does livekit server indicate

It looks like the connection to the ws is not working. There seems to be an issue with LIVEKIT_URL="ws://127.0.0.1:7880". It works when I switch to the public IP, but I still want to use the local IP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants