Skip to content

After deploying the F5-TTS project from source code, you may encounter some errors when using API calls. Common errors are listed below.

  1. Error: Could not fetch config for http://127.0.0.1:7860/

Possible causes:

  • F5-TTS is not started.
  • The port is incorrect.
  • The port is occupied by another program. AI project interfaces often use Gradio, with the default port being 7860.
  • Disable share by using the startup command f5-tts_infer-gradio --api and remove --share.
  • Upgrade the gradio_client on the calling end to the latest version by running pip install --upgrade gradio_client.
  1. Error: {detail:not found}

Possible causes:

  • The gradio_client version on the calling end is too old. Please update it with pip install --upgrade gradio_client.
  • The port is incorrect or belongs to another project.
  1. Frequent errors like the following:
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /SWivid/F5-TTS/resolve/main/F5TTS_v1_Base/vocab.txt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002174796DF60>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: 0458b571-90ab-4edd-ae59-b93bd603cdd0)')

This is a proxy issue. Please use a VPN for stable internet access.