It is impossible to add fish-speech #11864

Closed
opened 2026-02-21 19:04:26 -05:00 by yindo · 3 comments
Owner

Originally created by @zj2024 on GitHub (Mar 20, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

Version 1.1.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. The fish-speech is deployed locally.
  2. The startup command of fish-speech:
    nohup python tools/api_server.py --compile --half >/data/logs/fish-speech-api-server.log 2>&1 &
  3. Add the fish-speech model in Dify.
  4. I have uploaded some screenshots as attachments.
  5. The phenomenon I observed is that when adding fish-speech-1.5.0 in Dify, the POST request is for /audio/speech, while the only POST requests supported by fish-speech-1.5.0 are: /v1/vqgan/encode, /v1/vqgan/decode, /v1/asr, /v1/tts, /v1/chat.

✔️ Expected Behavior

The model was added successfully.

Actual Behavior

{"statusCode":404,"message":null,"error":"Not Found"}

Originally created by @zj2024 on GitHub (Mar 20, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version Version 1.1.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. The fish-speech is deployed locally. 2. The startup command of fish-speech: nohup python tools/api_server.py --compile --half >/data/logs/fish-speech-api-server.log 2>&1 & 3. Add the fish-speech model in Dify. 4. I have uploaded some screenshots as attachments. 5. The phenomenon I observed is that when adding fish-speech-1.5.0 in Dify, the POST request is for /audio/speech, while the only POST requests supported by fish-speech-1.5.0 are: /v1/vqgan/encode, /v1/vqgan/decode, /v1/asr, /v1/tts, /v1/chat. ### ✔️ Expected Behavior The model was added successfully. ### ❌ Actual Behavior {"statusCode":404,"message":null,"error":"Not Found"}
yindo added the 🐞 bug label 2026-02-21 19:04:26 -05:00
yindo closed this issue 2026-02-21 19:04:27 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 20, 2025):

I found a similar closed issue regarding the "Not Found" error (status code 404) when adding the fish-speech model in Dify. The suggested solution includes the following steps:

  1. Verify the API Endpoint: Ensure that the API endpoint URL is correct and accessible from the Dify environment. You can test the URL directly from a browser or use a tool like curl to check if it responds as expected.

  2. Check Network Configuration: Make sure that the network settings allow Dify to communicate with the server hosting the fish-speech model. This includes checking firewall rules and Docker network configurations.

  3. API Key: If the model requires authentication, ensure that the API Key is correctly entered in the configuration interface.

  4. Model Compatibility: Confirm that the fish-speech model is compatible with the OpenAI API format expected by Dify.

If these steps do not resolve the issue, reviewing the Dify logs for more detailed error messages might provide additional insights [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 20, 2025): <!-- Answer --> I found a similar closed issue regarding the "Not Found" error (status code 404) when adding the fish-speech model in Dify. The suggested solution includes the following steps: 1. **Verify the API Endpoint**: Ensure that the API endpoint URL is correct and accessible from the Dify environment. You can test the URL directly from a browser or use a tool like `curl` to check if it responds as expected. 2. **Check Network Configuration**: Make sure that the network settings allow Dify to communicate with the server hosting the fish-speech model. This includes checking firewall rules and Docker network configurations. 3. **API Key**: If the model requires authentication, ensure that the API Key is correctly entered in the configuration interface. 4. **Model Compatibility**: Confirm that the fish-speech model is compatible with the OpenAI API format expected by Dify. If these steps do not resolve the issue, reviewing the Dify logs for more detailed error messages might provide additional insights <sup>[[1]](https://github.com/langgenius/dify/issues/16310)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/810be7cd-cb25-4816-afbd-60d58a5fb101?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/810be7cd-cb25-4816-afbd-60d58a5fb101?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/810be7cd-cb25-4816-afbd-60d58a5fb101?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/810be7cd-cb25-4816-afbd-60d58a5fb101?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/810be7cd-cb25-4816-afbd-60d58a5fb101?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/810be7cd-cb25-4816-afbd-60d58a5fb101?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/810be7cd-cb25-4816-afbd-60d58a5fb101?feedback_type=other)</sup>
Author
Owner

@zj2024 commented on GitHub (Mar 20, 2025):

Hello. Could you please help to look into this issue?

@zj2024 commented on GitHub (Mar 20, 2025): Hello. Could you please help to look into this issue?
Author
Owner

@dosubot[bot] commented on GitHub (Apr 20, 2025):

Hi, @zj2024. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You reported a "Not Found" error when adding the fish-speech model to Dify version 1.1.0.
  • The error is due to the POST request being directed to an unsupported endpoint.
  • I suggested troubleshooting steps, including verifying the API endpoint and checking network configurations.
  • You requested further assistance to resolve the issue.

Next Steps

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If no updates are provided, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Apr 20, 2025): Hi, @zj2024. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary** - You reported a "Not Found" error when adding the fish-speech model to Dify version 1.1.0. - The error is due to the POST request being directed to an unsupported endpoint. - I suggested troubleshooting steps, including verifying the API endpoint and checking network configurations. - You requested further assistance to resolve the issue. **Next Steps** - Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here. - If no updates are provided, the issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11864