modelscope / FunASR

A Fundamental End-to-End Speech Recognition Toolkit and Open Source SOTA Pretrained Models, Supporting Speech Recognition, Voice Activity Detection, Text Post-processing etc.
https://www.funasr.com
Other
4.62k stars 514 forks source link

docker安装后,本地调用asr服务连不上. #1868

Open V-yw opened 1 week ago

V-yw commented 1 week ago

本地根据官网文档docker run 起来之后,跑了脚本.

bash run_server.sh   --download-model-dir /workspace/models   --vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-onnx   --model-dir damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch    --punc-dir damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx   --lm-dir damo/speech_ngram_lm_zh-cn-ai-wesp-fst   --itn-dir thuduj12/fst_itn_zh   --hotword /workspace/models/hotwords.txt  --certfile 0

image

但是我本级打开使用html client 连接asr server 显示连接不上. telnet 10098 是可以的. 97d711252363 registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.1.1 "bash" 2 hours ago Up About an hour 0.0.0.0:10098->10095/tcp, :::10098->10095/tcp nervous_euclid

image

但是web ui client 输入 wss://192.168.6.26:10098/ 或者ws 或者http 都失败. image

lyblsgo commented 6 days ago

服务端和客户端都打开ssl