FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

离线CPU版本docker部署,用给的例子运行后访问报错

Open nishiyou2004 opened this issue 5 months ago • 2 comments

Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节) 用html访问如下:

Image

docker容器中的log.txt报错如下:

Image

I20250813 09:34:13.069487 181 websocket-server.cpp:29] on_tls_init called with hdl: 0x7f2664033410 I20250813 09:34:13.069558 181 websocket-server.cpp:30] using TLS mode: Mozilla Intermediate [2025-08-13 09:34:13] [error] handle_transport_init received error: TLS handshake failed [2025-08-13 09:34:13] [info] asio async_shutdown error: asio.ssl:336462231 (shutdown while in init (SSL routines, SSL_shutdown))

这是什么问题?

环境

  • OS (e.g., Linux): vm虚拟机的centos7.0
  • Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1):funasr-runtime-sdk-cpu-0.4.7

nishiyou2004 avatar Aug 13 '25 01:08 nishiyou2004

我log.txt跟你一样的问题,提醒下docker映射的端口是10096,wss和ws协议都提示上图错误,最后干脆把启动参数--certfile设为0,禁用ssl,然后用ws协议连接就行了

hiwanz avatar Aug 14 '25 05:08 hiwanz

怎么解决的,我也是这个问题

pdxrlj avatar Oct 29 '25 07:10 pdxrlj

--certfile设为0 ,同时还要改 wss为ws(类似https http的关系) ws://xx.xx.xx.xxx:10095

longfei-zhang avatar Nov 19 '25 03:11 longfei-zhang