The document link in the knowledge base node is no longer needed. #13411

Closed
opened 2026-02-21 19:12:04 -05:00 by yindo · 1 comment
Owner

Originally created by @ZeroZ-lab on GitHub (Apr 27, 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

1.3.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image
No URL redirection on the knowledge base settings page

Image
There is a documentation link on the application page, but the link is 404

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @ZeroZ-lab on GitHub (Apr 27, 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 1.3.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/49536d24-a890-4028-8078-b64bbd9ac211) No URL redirection on the knowledge base settings page ![Image](https://github.com/user-attachments/assets/eea3d3d4-1cde-4b3d-9719-bf41181c150b) There is a documentation link on the application page, but the link is 404 ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 19:12:04 -05:00
yindo closed this issue 2026-02-21 19:12:04 -05:00
Author
Owner

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

I found a similar unsolved discussion regarding a 404 error in the documentation link for the LLM [1].

For handling 404 errors in the Dify application, specifically when accessing image URLs, you can use file.remote_url instead of file.url in code execution nodes to retrieve the correct image URL. Ensure that you access the image URL within 5 minutes, as the URLs are signed and expire after this timeframe [2].

If the issue is related to URL redirection, you might want to check the files responsible for managing URL redirections: web/utils/app-redirection.ts and web/next.config.js. The next.config.js file includes an async redirects() function that defines redirection rules [3][4].

Unfortunately, I couldn't find specific information on how documentation links are configured in the knowledge base settings page. You might need to investigate further in the codebase or documentation.

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 (Apr 27, 2025): <!-- Answer --> I found a similar unsolved discussion regarding a 404 error in the documentation link for the LLM <sup>[[1]](https://github.com/langgenius/dify/discussions/9210)</sup>. For handling 404 errors in the Dify application, specifically when accessing image URLs, you can use `file.remote_url` instead of `file.url` in code execution nodes to retrieve the correct image URL. Ensure that you access the image URL within 5 minutes, as the URLs are signed and expire after this timeframe <sup>[[2]](https://github.com/langgenius/dify/issues/11580)</sup>. If the issue is related to URL redirection, you might want to check the files responsible for managing URL redirections: `web/utils/app-redirection.ts` and `web/next.config.js`. The `next.config.js` file includes an `async redirects()` function that defines redirection rules <sup>[[3]](https://github.com/langgenius/dify/blob/main/web/utils/app-redirection.ts)</sup><sup>[[4]](https://github.com/langgenius/dify/blob/main/web/next.config.js)</sup>. Unfortunately, I couldn't find specific information on how documentation links are configured in the knowledge base settings page. You might need to investigate further in the codebase or documentation. <!-- 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/c95d5c24-95be-46c8-a1e4-442f5a00b1c5?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/c95d5c24-95be-46c8-a1e4-442f5a00b1c5?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/c95d5c24-95be-46c8-a1e4-442f5a00b1c5?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/c95d5c24-95be-46c8-a1e4-442f5a00b1c5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c95d5c24-95be-46c8-a1e4-442f5a00b1c5?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/c95d5c24-95be-46c8-a1e4-442f5a00b1c5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c95d5c24-95be-46c8-a1e4-442f5a00b1c5?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13411