#3377 videotrans.configure._except.StopRetry: [Errno 11001] getaddrinfo failed

2409:8a62* Posted at: 10 hours ago 👁10

[Errno 11001] getaddrinfo failed:
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\connection.py", line 99, in handle_request
File "httpcore\_sync\connection.py", line 76, in handle_request
File "httpcore\_sync\connection.py", line 122, in _connect
File "httpcore\_backends\sync.py", line 205, in connect_tcp
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: [Errno 11001] getaddrinfo failed

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

Traceback (most recent call last):
File "videotrans\tts\_f5tts.py", line 307, in _run
File "gradio_client\client.py", line 162, in init
File "gradio_client\client.py", line 933, in _get_config
File "httpx\_api.py", line 195, in get
File "httpx\_api.py", line 109, in request
File "httpx\_client.py", line 825, in request
File "httpx\_client.py", line 914, in send
File "httpx\_client.py", line 942, in _send_handling_auth
File "httpx\_client.py", line 979, in _send_handling_redirects
File "httpx\_client.py", line 1014, 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.ConnectError: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 17, in run
File "videotrans\tts\__init__.py", line 355, in run
File "videotrans\tts\_base.py", line 136, in run
File "videotrans\tts\_f5tts.py", line 53, in _exec
File "videotrans\tts\_base.py", line 205, in _local_mul_thread
File "videotrans\tts\_f5tts.py", line 325, 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\_f5tts.py", line 313, in _run
videotrans.configure._except.StopRetry: [Errno 11001] getaddrinfo failed


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:zh
root_dir:E:/Abaiduwangpan

1 Replies

这是由于 F5-TTS 服务无法连接导致的网络错误。错误 [Errno 11001] getaddrinfo failed 表示软件无法解析或连接到您配置的 F5-TTS API 地址。

解决方案

  1. 确认 F5-TTS 服务已启动:确保您已正确部署 F5-TTS 或 Spark-TTS 项目,并且其 API 服务正在运行(通常在终端或命令行窗口中可见,地址如 http://127.0.0.1:7860)。
  2. 检查 API 地址配置:在 pyVideoTrans 的“配音渠道”设置中,检查“API地址”是否与 F5-TTS 服务实际运行的地址和端口完全一致(例如 http://127.0.0.1:7860)。确保没有多余的空格或错误。
  3. 检查防火墙/网络:确保 Windows 防火墙或安全软件没有阻止 pyVideoTrans 访问本地网络端口(如 7860)。
  4. 重启服务:尝试关闭 F5-TTS 的服务终端,然后重新启动它,最后再在 pyVideoTrans 中重试配音任务。

请查阅相关文档:

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