#1732 videotrans.configure._except.StopRetry: timed out

205.185* Posted at: 6 days ago 👁31

timed out :
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\http_proxy.py", line 207, in handle_request
File "httpcore\_sync\connection.py", line 101, in handle_request
File "httpcore\_sync\http11.py", line 143, in handle_request
File "httpcore\_sync\http11.py", line 113, in handle_request
File "httpcore\_sync\http11.py", line 186, in _receive_response_headers
File "httpcore\_sync\http11.py", line 224, in _receive_event
File "httpcore\_backends\sync.py", line 124, in read
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\tts\_cosyvoice.py", line 59, in _item_task_cosyvoice2
File "gradio_client\client.py", line 153, in init

self.config = self._get_config()

File "gradio_client\client.py", line 882, in _get_config

r = httpx.get(

File "httpx\_api.py", line 195, in get
File "httpx\_api.py", line 109, in request
File "httpx\_client.py", line 824, in request
File "httpx\_client.py", line 913, in send
File "httpx\_client.py", line 941, in _send_handling_auth
File "httpx\_client.py", line 978, in _send_handling_redirects
File "httpx\_client.py", line 1013, in _send_single_request
File "httpx\_transports\default.py", line 249, in handle_request
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ReadTimeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 252, in run
File "videotrans\tts\_base.py", line 182, in run
File "videotrans\tts\_cosyvoice.py", line 155, in _item_task
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_cosyvoice.py", line 151, in _run
File "videotrans\tts\_cosyvoice.py", line 61, in _item_task_cosyvoice2
videotrans.configure._except.StopRetry: timed out


=
system:Windows-10-10.0.19045-SP0
version:v3.82
frozen:True
language:zh
root_dir:E:/win-videotrans-v3.82_20251019_125144

1 Replies

错误日志显示在连接 CosyVoice TTS 服务时发生超时 (timed out)。这通常是由于网络连接问题或 CosyVoice 服务地址配置错误导致的。

请按以下步骤排查:

  1. 检查网络连接:确保您的电脑可以正常访问互联网,并且没有防火墙或安全软件阻止 pyVideoTrans 的网络请求。
  2. 验证 CosyVoice 服务地址

    • 在软件主界面,点击菜单栏的 工具 -> CosyVoice
    • 在弹出的窗口中,检查 CosyVoice 服务地址 是否正确。默认地址通常是 http://127.0.0.1:7860/
    • 关键操作:点击 测试连接 按钮。如果测试失败,说明软件无法连接到您配置的 CosyVoice 服务。
  3. 确认 CosyVoice 服务已启动

    • 如果您使用的是本地部署的 CosyVoice,请确保其服务程序已经成功启动,并且在 http://127.0.0.1:7860/(或您配置的地址)可以访问。
    • 您可以在浏览器中直接输入服务地址(如 http://127.0.0.1:7860/)来验证服务是否正常运行。
  4. 更换配音渠道

    • 如果 CosyVoice 服务暂时无法使用,您可以在主界面第4行“配音”设置中,暂时切换到其他可用的配音渠道,例如 Edge-TTS

总结:核心问题是软件无法连接到您配置的 CosyVoice TTS 服务。请重点检查该服务是否已正确启动且网络可达。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions