#2105 videotrans.configure._except.StopRetry: Request URL is missing an 'http://' or 'https://' protocol.

198.98* Posted at: 1 day ago 👁15

Request URL is missing an 'http://' or 'https://' protocol.:
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 167, in handle_request
httpcore.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.

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

Traceback (most recent call last):
File "videotrans\tts\_f5tts.py", line 285, in _run
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 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.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.

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 315, in run
File "videotrans\tts\_base.py", line 179, in run
File "videotrans\tts\_f5tts.py", line 304, 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 291, in _run
videotrans.configure._except.StopRetry: Request URL is missing an 'http://' or 'https://' protocol.


=
system:Windows-10-10.0.19045-SP0
version:v3.90
frozen:True
language:zh
root_dir:E:/win-pyvideotrans-3.90

1 Replies

错误信息显示您在使用 F5-TTS 配音时,配置的 URL 缺少 http://https:// 协议头。

核心原因与解决方案:
您需要在 F5-TTS 的配置中,将服务器地址修改为包含 http://https:// 的完整 URL。

操作步骤:

  1. 在 pyVideoTrans 主界面,点击菜单栏的 工具 -> 配音角色管理
  2. 在打开的窗口中,找到您正在使用的 F5-TTS 角色。
  3. 点击该角色右侧的 修改 按钮。
  4. 在弹出的编辑框中,检查 服务器地址 一栏。
  5. 确保地址以 http://https:// 开头。例如,如果您的 F5-TTS 服务运行在本地的 7860 端口,正确的地址应为 http://127.0.0.1:7860http://localhost:7860
  6. 修改后保存,然后重试配音。

如果问题依旧,请确认您的 F5-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