You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Model provider reports Internal Server Error #14504
@tyutltf Hello! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer.
I found a similar unsolved discussion titled dify internal server error, which might be related to the issue you're experiencing [1]. Additionally, there is a closed issue where the suggested solution was to check out the v0.15.3 tag to start it from source, as there is no plugin daemon under version 1.0.0 [2].
For your specific issue with the Zhipu API key causing an "Internal Server Error," ensure that the API key is correctly configured and valid. Dify handles API key validation through the validate_credentials method, and if the key is invalid, it will raise a CredentialsValidateFailedError[3]. Additionally, make sure the Authorization token is formatted correctly as 'Bearer ' in the Authorization header to avoid 401 or 403 errors [4].
If the problem persists, consider checking the logs for any specific error messages that might provide more insight into the issue.
Activity
dosubot commentedon Feb 28, 2025
@tyutltf Hello! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer.
I found a similar unsolved discussion titled dify internal server error, which might be related to the issue you're experiencing [1]. Additionally, there is a closed issue where the suggested solution was to check out the v0.15.3 tag to start it from source, as there is no plugin daemon under version 1.0.0 [2].
For your specific issue with the Zhipu API key causing an "Internal Server Error," ensure that the API key is correctly configured and valid. Dify handles API key validation through the
validate_credentialsmethod, and if the key is invalid, it will raise aCredentialsValidateFailedError[3]. Additionally, make sure the Authorization token is formatted correctly as 'Bearer ' in the Authorization header to avoid 401 or 403 errors [4].If the problem persists, consider checking the logs for any specific error messages that might provide more insight into the issue.
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
crazywoola commentedon Feb 28, 2025
For internal server error, please provide the container logs.
tyutltf commentedon Feb 28, 2025
Thanks, where is the path to the container logs?
crazywoola commentedon Feb 28, 2025
Please read the docs here https://docs.docker.com/?_gl=1*ia4exk*_gcl_au*NDk3MjMyMTgwLjE3NDA3MDc4NzE.*_ga*NjY4NjQzMDQ2LjE3MzIwOTQyNDk.*_ga_XJWPQMJYHQ*MTc0MDcwNzg3MS41LjEuMTc0MDcwNzg3NC41Ny4wLjA.
tyutltf commentedon Feb 28, 2025
crazywoola commentedon Feb 28, 2025
Please check the logs of api
tyutltf commentedon Feb 28, 2025
crazywoola commentedon Feb 28, 2025
https://docs.dify.ai/learn-more/faq/install-faq#id-2.-how-to-fix-the-file-not-found-error-in-local-deployment-logs
tyutltf commentedon Feb 28, 2025
Thanks, that solved my problem