#926 HTTPConnectionPool(host='127.0.0.1', port=9988): Max retries exceeded with url: /apitts (Caused by NewConnectionError('<

2804:38a* Posted at: 1 day ago 👁9

HTTPConnectionPool(host='127.0.0.1', port=9988): Max retries exceeded with url: /apitts (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente'))

=====

Windows-10-10.0.22631-SP0

version:v3.81

frozen:True

language:en

1 Replies

This article was replied by DeepSeek
Based on the error log you provided, the issue is that pyVideoTrans is trying to connect to a local TTS (Text-to-Speech) service on your computer at 127.0.0.1:9988, but the connection is being refused because the service is not running.

Root Cause: You have likely selected a "Custom TTS API" or a locally deployed TTS model (like F5-TTS, IndexTTS2, etc.) as your配音渠道 (Dubbing Channel), but the corresponding local server is not active.

Here is a step-by-step solution:

1. Check Your Dubbing Channel Setting:

  • Open pyVideoTrans.
  • Go to the main working area (e.g., "Translate Video and Audio").
  • Look at the "配音渠道" (Dubbing Channel) dropdown menu.
  • If it is set to "自定义TTS-API" (Custom TTS API) or another local TTS model, this confirms the issue.

2. Choose a Solution:

Solution A (Recommended - Use a Built-in Online Service):

  • Change the "配音渠道" (Dubbing Channel) to a service that does not require local setup, such as "Edge-TTS". Edge-TTS is free and works immediately.
  • After selecting Edge-TTS, choose a "配音角色" (Voice Role) and you can click "试听配音" (Preview Voice) to test it.

Solution B (If you intend to use a Local TTS Server):

  • You need to ensure the local TTS server is running and accessible at http://127.0.0.1:9988/apitts.
  • This typically involves running a separate script or program for the TTS model you want to use. Please refer to the specific deployment instructions for your chosen TTS model (e.g., F5-TTS, CosyVoice) in the official documentation at https://pyvideotrans.com.
  • Once the server is running correctly on port 9988, the error should resolve.

For most users, Solution A (switching to Edge-TTS) is the quickest and easiest fix. If you specifically need the functionality of a local TTS model, you must follow Solution B and ensure its server is active before starting the translation task in pyVideoTrans.

If the problem persists after trying these steps, please provide a screenshot of your "配音渠道" (Dubbing Channel) setting.

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

Similar issues already exist

Trending Questions