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

Connection is taking longer than usual. Are you on a VPN? #76

Open
lys791227 opened this issue Feb 26, 2025 · 13 comments
Open

Connection is taking longer than usual. Are you on a VPN? #76

lys791227 opened this issue Feb 26, 2025 · 13 comments

Comments

@lys791227
Copy link

when record ,warning :Connection is taking longer than usual. Are you on a VPN?

@SaisaranF22
Copy link

same issue

@lys791227
Copy link
Author

same issue
must local host ,remote host is not accept audio .

@SaisaranF22
Copy link

local

even live gradio link also wont work?

@freddyaboulton
Copy link
Owner

Hi @SaisaranF22 @lys791227 which demo are you connecting to? is it on spaces or local?

@lys791227
Copy link
Author

lys791227 commented Feb 27, 2025

Hi @SaisaranF22 @lys791227 which demo are you connecting to? is it on spaces or local?

talk_to_openai local is ok.but remote is not .

Image

Image

@freddyaboulton
Copy link
Owner

Did you pass rtc_configuration when running remotely?

See this guide
https://fastrtc.org/deployment/

I would use twilio or cloudflare.

Use this guide for cloudflare: https://developers.cloudflare.com/calls/turn/generate-credentials/

Also make sure the udp ports in your remote machine are open.

@SaisaranF22
Copy link

Did you pass rtc_configuration when running remotely?

See this guide https://fastrtc.org/deployment/

I would use twilio or cloudflare.

Use this guide for cloudflare: https://developers.cloudflare.com/calls/turn/generate-credentials/

Also make sure the udp ports in your remote machine are open.

I use ubuntu server via ssh connection and I ran demo voice llm folder from demos.

@lys791227
Copy link
Author

twilio 或 cloudflare

Is it possible without twilio or cloudflare?

@freddyaboulton
Copy link
Owner

@lys791227 Are you based in China? Can you make a HuggingFace account with a token? Will think of how to support you

@lys791227
Copy link
Author

@lys791227 Are you based in China? Can you make a HuggingFace account with a token? Will think of how to support you
Yes. Can I use openssl or other tools to create a certificate?

@lys791227
Copy link
Author

lys791227 commented Feb 28, 2025

@lys791227 Are you based in China? Can you make a HuggingFace account with a token? Will think of how to support you
I have HuggingFace account with a token,but it not work.

@freddyaboulton
Copy link
Owner

Ok going to try to set up a free turn server you can use in your demo.

@lys791227
Copy link
Author

Ok going to try to set up a free turn server you can use in your demo.

stream.ui.launch(
server_name="0.0.0.0",
ssl_keyfile="/u01/liuys/work/llm_training/TTS/WebRtc/vosk-server/webrtc/vosk_key_file.pem",
ssl_certfile="/u01/liuys/work/llm_training/TTS/WebRtc/vosk-server/webrtc/vosk_cert_file.pem",
) 报下面的错误: self.gen.throw(typ, value, traceback)
File "/u01/liuys/anaconda3/envs/fastrtc/lib/python3.10/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) 如何支持本地的ssl

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

3 participants