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

83.11* Posted at: 13 hours ago 👁9

HTTPConnectionPool(host='127.0.0.1', port=9880): Max retries exceeded with url: /apitts (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:D:/win-pyvideotrans-v3.97

1 Replies

This error indicates that pyVideoTrans is unable to connect to a local TTS service API (likely GPT-SoVITS) running on 127.0.0.1:9880. The target machine (your local computer) is actively refusing the connection.

Solution Steps:

  1. Ensure the external TTS service is running. You must have started the GPT-SoVITS API service in a separate terminal/command prompt window. Do not close that window while using pyVideoTrans.
  2. Verify the API address and port. In pyVideoTrans, go to the TTS settings and confirm that the API address is exactly http://127.0.0.1:9880. Ensure there are no typos or extra spaces.
  3. Check for port conflicts. Ensure no other application is using port 9880. You can try changing the port in the GPT-SoVITS service startup command and update the address in pyVideoTrans accordingly.
  4. Allow through firewall. Temporarily disable your Windows firewall or add an exception to allow connections on port 9880 to see if that is the issue.

If the service is confirmed to be running but the error persists:

  • Restart the GPT-SoVITS API service.
  • Ensure you are using a compatible version of the external TTS service that matches pyVideoTrans's API expectations.

Please refer to the relevant documentation:

Post Your Reply