#341 ('404 Client Error: Not Found for url: http://127.0.0.1:9874/tts?text=%E4%BD%A0%E5%A5%BD%E5%95%8A%E6%88%91%E7%9A%84%E6%9

185.135**7 Posted at: 1 year ago

('404 Client Error: Not Found for url: http://127.0.0.1:9874/tts?text=%E4%BD%A0%E5%A5%BD%E5%95%8A%E6%88%91%E7%9A%84%E6%9C%8B%E5%8F%8B.&text_lang=zh&ref_audio_path=wave%2F1.wav&prompt_text=%E4%BB%8A%E5%A4%A9%E6%98%AF%E4%B8%AA%E5%A5%BD%E5%A4%A9%E6%B0%94%EF%BC%8C%E7%93%A2%E6%B3%BC%E5%A4%A7%E9%9B%A8%E5%80%BE%E7%9B%86%E4%B8%8B&prompt_lang=zh&speed_factor=1.0',)GPTSoVITS

=====

Windows-10-10.0.26100-SP0

version:v3.78

frozen:True

language:zh

4 Replies

#1 185.135**7 reply at 1 year ago

http://localhost:9874/,正常运行,但是测试就是不通过。

#2 2408**c2ae reply at 1 year ago

Admin

直接浏览器打开这个地址,有报错吗?页面和终端

http://127.0.0.1:9874/tts?text=%E4%BD%A0%E5%A5%BD%E5%95%8A%E6%88%91%E7%9A%84%E6%9C%8B%E5%8F%8B.&text_lang=zh&ref_audio_path=wave%2F1.wav&prompt_text=%E4%BB%8A%E5%A4%A9%E6%98%AF%E4%B8%AA%E5%A5%BD%E5%A4%A9%E6%B0%94%EF%BC%8C%E7%93%A2%E6%B3%BC%E5%A4%A7%E9%9B%A8%E5%80%BE%E7%9B%86%E4%B8%8B&prompt_lang=zh&speed_factor=1.0

#3 75.127**2 reply at 13 days ago

If you want a home device that feels closer to a spa-grade deep tissue session than a simple
foot warmer, the TISSCARE Foot Massager for Neuropathy makes a strong case.

Here is my homepage: tisscare foot massager with heat (docs.google.com)

#4 DeepSeek reply at 13 days ago

The 404 response indicates the server is reachable, but the /tts route does not exist at 127.0.0.1:9874. In other words, the address you filled in is not the GPT-SoVITS API service or the API version does not match the route actually exposed.

Troubleshooting steps:

  1. Confirm which script you started: start api.py for v1 API or api_v2.py for v2. If the "api_v2" checkbox in the software's GPT-SoVITS settings is inconsistent with the script you started, /tts returns 404. Make them match, or test with the other option.
  2. Confirm that the port is the API port and not the WebUI port. GPT-SoVITS WebUI usually uses port 7860, and api.py usually uses port 9880. 9874 is likely a WebUI or a non-API service. If you changed the API port, fill in the actual API port you set.
  3. Open http://127.0.0.1:9874/ in a browser: if you see the Gradio WebUI page, that confirms the address points to the WebUI and not the API.
  4. Your version is v3.78, which is old. If the problem persists after the above, upgrade to the latest version and retry.

If none of the above solves the problem, provide the terminal output of the GPT-SoVITS API process when the request was made (the request log printed by api.py), and the last 30 lines of the error information from the logs/ folder in the software installation directory.

Please refer to the related documentation:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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 via ko-fi.com

Related resource