#4380 videotrans.configure._except.StopRetry: Could not fetch config for http://127.0.0.1:8880/v1/audio/speech/

119.39* Posted at: 1 hour ago 👁11

Could not fetch config for http://127.0.0.1:8880/v1/audio/speech/:
Traceback (most recent call last):
File "/Users/junyouchen/Desktop/pyvideotrans/videotrans/tts/_omnivoice.py", line 94, in _item_task

client = Client(self.api_url, ssl_verify=False)

File "/Users/junyouchen/Desktop/pyvideotrans/.venv/lib/python3.10/site-packages/gradio_client/client.py", line 163, in init

self.config = self._get_config()

File "/Users/junyouchen/Desktop/pyvideotrans/.venv/lib/python3.10/site-packages/gradio_client/client.py", line 972, in _get_config

raise ValueError(f"Could not fetch config for {self.src}")

ValueError: Could not fetch config for http://127.0.0.1:8880/v1/audio/speech/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/junyouchen/Desktop/pyvideotrans/videotrans/util/ListenVoice.py", line 16, in run

tts.run(

File "/Users/junyouchen/Desktop/pyvideotrans/videotrans/tts/__init__.py", line 451, in run

OmniVoice(**kwargs).run()

File "/Users/junyouchen/Desktop/pyvideotrans/videotrans/tts/_base.py", line 137, in run

self._exec()

File "/Users/junyouchen/Desktop/pyvideotrans/videotrans/tts/_omnivoice.py", line 61, in _exec

self._local_mul_thread()

File "/Users/junyouchen/Desktop/pyvideotrans/videotrans/tts/_base.py", line 210, in _local_mul_thread

self._item_task(item,k)

File "/Users/junyouchen/Desktop/pyvideotrans/videotrans/tts/_omnivoice.py", line 96, in _item_task

raise StopRetry(str(e))

videotrans.configure._except.StopRetry: Could not fetch config for http://127.0.0.1:8880/v1/audio/speech/


=
system:macOS-26.4.1-arm64-arm-64bit
version:v3.99
frozen:False
language:zh
root_dir:/Users/junyouchen/Desktop/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

错误源于 OmniVoice 服务未正确启动或 API 地址配置有误,导致 pyVideoTrans 无法获取 Gradio 服务的配置文件。

解决方案:

  1. 确认 OmniVoice 服务已在终端中启动,并保持运行状态,没有报错。
  2. 检查 pyVideoTrans 中 OmniVoice 的 API 地址设置:菜单 -> TTS设置 -> F5-TTS界面(OmniVoice 复用此设置)应填写为 http://127.0.0.1:8880不要包含 /v1/audio/speech/ 等路径。
  3. 若服务已启动但仍报错,请重启 OmniVoice 服务,并确认端口未被占用。
  4. 确保 OmniVoice 部署版本与 pyVideoTrans v3.99 兼容,并已安装全部依赖。

请查阅相关文档:

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.

Related resource

Similar issues already exist