#5397 Could not fetch config for http://127.0.0.1:5010/

108.165* Posted at: 18 hours ago

f5tts This channel needs deployed and started before available
self.api_url='http://127.0.0.1:5010'
Could not fetch config for http://127.0.0.1:5010/:
Traceback (most recent call last):
File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_gradio.py", line 51, in _send

client = self.get_thread_client()

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_gradio.py", line 36, in get_thread_client

thread_local.client = Client(

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/.venv/lib/python3.10/site-packages/gradio_client/client.py", line 162, in init

self.config = self._get_config()

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/.venv/lib/python3.10/site-packages/gradio_client/client.py", line 971, in _get_config

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

ValueError: Could not fetch config for http://127.0.0.1:5010/

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

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

tts.run(

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/__init__.py", line 189, in run

return _cls(**kwargs).run()  # type:ignore

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_base.py", line 93, in run

self._exec()

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_base.py", line 208, in _exec

self._local_mul_thread()

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_base.py", line 168, in _local_mul_thread

raise error

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_base.py", line 220, in _item_task

return self._run(data_item,idx)

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_f5tts.py", line 37, in _run

return self._send(kwargs,data_item)

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 338, in wrapped_f

return copy(f, *args, **kw)

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 477, in call

do = self.iter(retry_state=retry_state)

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 378, in iter

result = action(retry_state)

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 400, in

self._add_action_func(lambda rs: rs.outcome.result())

File "/Users/user/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/concurrent/futures/_base.py", line 451, in result

return self.__get_result()

File "/Users/user/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result

raise self._exception

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 480, in call

result = fn(*args, **kwargs)

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_gradio.py", line 74, in _send

raise StopTask(f"{self.ainame} {tr('This channel needs deployed and started before available')}\n{self.api_url=}\n{err}") from e

videotrans.configure.excepts.StopTask: f5tts This channel needs deployed and started before available
self.api_url='http://127.0.0.1:5010'
Could not fetch config for http://127.0.0.1:5010/


=
system:macOS-15.7.3-arm64-arm-64bit
version:v4.03
frozen:False
language:en
root_dir:/Users/user/Desktop/Source/youtube/lib/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

The error "This channel needs deployed and started before available" for F5-TTS means the pyVideoTrans software cannot connect to the local F5-TTS service. The log shows it's trying to reach http://127.0.0.1:5010, but the Gradio server is not running or the port is misconfigured.

Root cause: F5-TTS requires a separate local deployment. You must start its WebUI (Gradio) service first, then configure the correct API URL in pyVideoTrans.

Fix steps:

  1. Verify F5-TTS is running
    Ensure you have deployed and started the F5-TTS service (e.g., its WebUI at the default URL http://127.0.0.1:7860). If you customized the port, make sure it's actually 5010 as shown in the error.
  2. Update pyVideoTrans settings
    Go to Menu → TTS Settings → F5TTS and set the correct API URL (e.g., http://127.0.0.1:7860 or your actual port). The current value http://127.0.0.1:5010 does not match a running Gradio instance.
  3. Port mismatch
    The default F5-TTS port is 7860. If you deliberately changed it, double-check that the service is truly listening on 5010 and there are no firewall or network issues.

Reference documentation:

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. Dondate: ko-fi.com/jianchang512

Related resource