#846 RuntimeError: 404 Client Error: NOT FOUND for url: http://127.0.0.1:9988/v1/audio/speechKokoroTTS

*195.234* Posted at: 9 hours ago 👁7

404 Client Error: NOT FOUND for url: http://127.0.0.1:9988/v1/audio/speechKokoroTTS:Traceback (most recent call last):

File "videotrans\util\ListenVoice.py", line 18, in run

File "videotrans\tts\__init__.py", line 471, in run

File "videotrans\tts\_base.py", line 142, in run

RuntimeError: 404 Client Error: NOT FOUND for url: http://127.0.0.1:9988/v1/audio/speechKokoroTTS

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:en

1 Replies

This article was replied by DeepSeek
The error occurs because pyVideoTrans cannot connect to the Kokoro-TTS service at http://127.0.0.1:9988. This service is required for the text-to-speech (TTS) functionality you are using. The 404 error indicates that the Kokoro-TTS server is not running or is not accessible at the specified address.

Solution:

1. Start the Kokoro-TTS Server: Ensure you have Kokoro-TTS installed and running locally. If you haven't set it up yet, you need to deploy Kokoro-TTS on your machine and start its server. Typically, this involves running a command like python -m kokoro_tts.server in your terminal, which should launch the service on http://127.0.0.1:9988 (or a similar port).

2. Verify the API URL in pyVideoTrans: Go to the TTS settings in pyVideoTrans (Menu → TTS Settings) and check that the API URL for Kokoro-TTS is correctly set to http://127.0.0.1:9988. If you changed the port during setup, update the URL accordingly.

3. Check Server Status: Open your web browser and navigate to http://127.0.0.1:9988 (or the configured URL). If the server is running, you should see a response or a welcome page. If not, restart the Kokoro-TTS server.

4. Alternative TTS Options: If you continue to face issues, consider switching to another TTS provider in pyVideoTrans, such as Edge-TTS (free) or Azure TTS, which may be easier to configure.

For detailed setup instructions on Kokoro-TTS, refer to its official documentation or repository. If the problem persists, check the logs in videotrans/logs/ for more details and ensure no other applications are blocking port 9988.

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